aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/maple_tree.c
diff options
context:
space:
mode:
authorBertrand Wlodarczyk <bertrand.wlodarczyk@intel.com>2025-02-10 17:07:49 +0100
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:10 -0700
commit6e80c0aaad469e0a923ea0d7018fb1464e992018 (patch)
treeaaa93b9ef8cae105cfad0470c76d7631af6549e7 /lib/maple_tree.c
parentmm/damon/core: do damos walking in entire regions granularity (diff)
downloadwireguard-linux-6e80c0aaad469e0a923ea0d7018fb1464e992018.tar.xz
wireguard-linux-6e80c0aaad469e0a923ea0d7018fb1464e992018.zip
vmscan, cleanup: add for_each_managed_zone_pgdat macro
The macro is introduced to eliminate redundancy in the repeated iteration over managed zones in pgdat data structure, reducing the potential for errors. This change doesn't introduce any functional modifications. Due to concentration of the pattern in vmscan.c the macro is placed locally in that file. Link: https://lkml.kernel.org/r/20250210160818.686-1-bertrand.wlodarczyk@intel.com Signed-off-by: Bertrand Wlodarczyk <bertrand.wlodarczyk@intel.com> Reviewed-by: Tim Chen <tim.c.chen@linux.intel.com> Cc: Andy Whitcroft <apw@canonical.com> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Dwaipayan Ray <dwaipayanray1@gmail.com> Cc: Joe Perches <joe@perches.com> Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/maple_tree.c')
0 files changed, 0 insertions, 0 deletions