mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 10:32:24 +00:00
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/[email protected] Acked-by: Shakeel Butt <[email protected]> Signed-off-by: Johannes Weiner <[email protected]> Reviewed-by: Roman Gushchin <[email protected]> Reviewed-by: Vishal Moola (Oracle) <[email protected]> Reviewed-by: Uladzislau Rezki (Sony) <[email protected]> Cc: Joshua Hahn <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Muchun Song <[email protected]> Signed-off-by: Andrew Morton <[email protected]>