summaryrefslogtreecommitdiff
path: root/lib/cmdline_kunit.c
diff options
context:
space:
mode:
authorZi Yan <ziy@nvidia.com>2024-02-26 23:55:29 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-03-05 04:01:19 +0300
commit502003bb76b83649cd4ff7f701987ac5cf43bc4b (patch)
tree03f67714298d1650770b3dbbc3b7f73ab3e531f3 /lib/cmdline_kunit.c
parent8897277acfef7f70fdecc054073bea2542fc7a1b (diff)
downloadlinux-502003bb76b83649cd4ff7f701987ac5cf43bc4b.tar.xz
mm/memcg: use order instead of nr in split_page_memcg()
We do not have non power of two pages, using nr is error prone if nr is not power-of-two. Use page order instead. Link: https://lkml.kernel.org/r/20240226205534.1603748-4-zi.yan@sent.com Signed-off-by: Zi Yan <ziy@nvidia.com> Acked-by: David Hildenbrand <david@redhat.com> Cc: Hugh Dickins <hughd@google.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Luis Chamberlain <mcgrof@kernel.org> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org> Cc: Michal Koutny <mkoutny@suse.com> Cc: Roman Gushchin <roman.gushchin@linux.dev> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Yang Shi <shy828301@gmail.com> Cc: Yu Zhao <yuzhao@google.com> Cc: Zach O'Keefe <zokeefe@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/cmdline_kunit.c')
0 files changed, 0 insertions, 0 deletions