diff options
| author | Zi Yan <[email protected]> | 2024-02-26 20:55:29 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-03-05 01:01:19 +0000 |
| commit | 502003bb76b83649cd4ff7f701987ac5cf43bc4b (patch) | |
| tree | 03f67714298d1650770b3dbbc3b7f73ab3e531f3 /lib/test_vmalloc.c | |
| parent | mm: support order-1 folios in the page cache (diff) | |
| download | kernel-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
