summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorShakeel Butt <shakeel.butt@linux.dev>2025-02-28 10:58:08 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 10:05:36 +0300
commitf7b0797d36e75d2a622580b56b9bfd3130d5d0e9 (patch)
treed84b42afca8c642b84f9500ac7d19193cf1f1dae /include/linux/input
parent0e2759afcaf9bff25a63201856fa89b64181749f (diff)
downloadlinux-f7b0797d36e75d2a622580b56b9bfd3130d5d0e9.tar.xz
page_counter: reduce struct page_counter size
The struct page_counter has explicit padding for better cache alignment. The commit c6f53ed8f213a ("mm, memcg: cg2 memory{.swap,}.peak write handlers") added a field to the struct page_counter and accidently increased its size. Let's move the failcnt field which is v1-only field to the same cacheline of usage to reduce the size of struct page_counter. Link: https://lkml.kernel.org/r/20250228075808.207484-4-shakeel.butt@linux.dev Signed-off-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> Cc: Roman Gushchin (Cruise) <roman.gushchin@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions