summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-04-30 08:55:05 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-04-30 21:20:36 +0300
commit608b5d668c8ea6734594a401c9adab4093ad9847 (patch)
tree92a9e461af92477af777068724f29e7805a2b75e /include
parentfab765c210130113ede5f8754c6a158fa0e4f960 (diff)
downloadlinux-608b5d668c8ea6734594a401c9adab4093ad9847.tar.xz
mm: page_owner: use kstrtobool() to parse bool option
I tried to use page_owner=1 for a while noticed too late it had no effect as opposed to similar init_on_alloc=1 (these work). Let's make them consistent. The change decreses binary size slightly: text data bss dec hex filename 12408 321 17 12746 31ca mm/page_owner.o.before 12320 321 17 12658 3172 mm/page_owner.o.after Link: https://lkml.kernel.org/r/20210401210909.3532086-1-slyfox@gentoo.org Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions