aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorZi Yan <[email protected]>2024-02-26 20:55:29 +0000
committerAndrew Morton <[email protected]>2024-03-05 01:01:19 +0000
commit502003bb76b83649cd4ff7f701987ac5cf43bc4b (patch)
tree03f67714298d1650770b3dbbc3b7f73ab3e531f3 /lib/test_vmalloc.c
parentmm: support order-1 folios in the page cache (diff)
downloadkernel-502003bb76b83649cd4ff7f701987ac5cf43bc4b.tar.gz
kernel-502003bb76b83649cd4ff7f701987ac5cf43bc4b.zip
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/[email protected] Signed-off-by: Zi Yan <[email protected]> Acked-by: David Hildenbrand <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Kirill A. Shutemov <[email protected]> Cc: Luis Chamberlain <[email protected]> Cc: "Matthew Wilcox (Oracle)" <[email protected]> Cc: Michal Koutny <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Ryan Roberts <[email protected]> Cc: Yang Shi <[email protected]> Cc: Yu Zhao <[email protected]> Cc: Zach O'Keefe <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions