aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/maple_tree.c
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2025-02-07 10:04:53 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:09 -0700
commit8d9a2f5d8abd3ba4355f25e60827c1ee082cd215 (patch)
treeb65b8c87947a97ada4d22265faa36a42dcdfd68f /lib/maple_tree.c
parentmm: use READ/WRITE_ONCE() for vma->vm_flags on migrate, mprotect (diff)
downloadwireguard-linux-8d9a2f5d8abd3ba4355f25e60827c1ee082cd215.tar.xz
wireguard-linux-8d9a2f5d8abd3ba4355f25e60827c1ee082cd215.zip
mm/mm_init.c: use round_up() to align movable range
Since MAX_ORDER_NR_PAGES is power of 2, let's use a faster version. Link: https://lkml.kernel.org/r/20250207100453.9989-1-richard.weiyang@gmail.com Signed-off-by: Wei Yang <richard.weiyang@gmail.com> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/maple_tree.c')
0 files changed, 0 insertions, 0 deletions