summaryrefslogtreecommitdiff
path: root/include/memory
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2026-02-23 11:01:06 -0500
committerAndrew Morton <akpm@linux-foundation.org>2026-04-05 13:53:04 -0700
commitb9ec0ed907062a67a7cca2d04e7652aec06a0c35 (patch)
treee2f47fc9ccb5dc19ada663acfe2dfd8302ebda96 /include/memory
parent6b0dd42d7681af148e13df3806f251bc3dc7c36e (diff)
mm: vmalloc: streamline vmalloc memory accounting
Use a vmstat counter instead of a custom, open-coded atomic. This has the added benefit of making the data available per-node, and prepares for cleaning up the memcg accounting as well. Link: https://lkml.kernel.org/r/20260223160147.3792777-1-hannes@cmpxchg.org Acked-by: Shakeel Butt <shakeel.butt@linux.dev> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev> Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Cc: Joshua Hahn <joshua.hahnjy@gmail.com> Cc: Michal Hocko <mhocko@kernel.org> Cc: Muchun Song <muchun.song@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions