diff options
author | Roman Gushchin <roman.gushchin@linux.dev> | 2024-07-01 18:59:32 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-10 12:14:54 -0700 |
commit | 6df13230b612af81ce04f20bb37a02e58ef71925 (patch) | |
tree | 6eb98f72f91549532fff2c387e40d7c7a9591318 /mm/slub.c | |
parent | 9fa001cf3bb0598aad09d15b2896f7db9ef87637 (diff) | |
download | lwn-6df13230b612af81ce04f20bb37a02e58ef71925.tar.gz lwn-6df13230b612af81ce04f20bb37a02e58ef71925.zip |
mm: memcg: add cache line padding to mem_cgroup_per_node
Memcg v1-specific fields serve a buffer function between read-mostly and
update often parts of the mem_cgroup_per_node structure. If
CONFIG_MEMCG_V1 is not set and these fields are not present, an explicit
cacheline padding is needed.
Link: https://lkml.kernel.org/r/20240701185932.704807-2-roman.gushchin@linux.dev
Signed-off-by: Roman Gushchin <roman.gushchin@linux.dev>
Suggested-by: Shakeel Butt <shakeel.butt@linux.dev>
Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Johannes Weiner <hannes@cmpxchg.org>
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 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions