summaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorLiu Shixin <liushixin2@huawei.com>2022-09-13 10:13:58 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-10-04 00:03:14 +0300
commit4988fe69527c6e02066aeb454c2db4d6d51d317b (patch)
treebe6f5eada69766b004ca873965ebbd8e25d3e4b2 /mm/page_alloc.c
parent29454cf6ab3c49bc5d3f443e1d1417feca3d0ce5 (diff)
downloadlinux-4988fe69527c6e02066aeb454c2db4d6d51d317b.tar.xz
mm/memcontrol: use kstrtobool for swapaccount param parsing
Use kstrtobool which is more powerful to handle all kinds of parameters like 'Yy1Nn0' or [oO][NnFf] for "on" and "off". Link: https://lkml.kernel.org/r/20220913071358.1812206-1-liushixin2@huawei.com Signed-off-by: Liu Shixin <liushixin2@huawei.com> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Muchun Song <songmuchun@bytedance.com> Cc: Roman Gushchin <roman.gushchin@linux.dev> Cc: Shakeel Butt <shakeelb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions