aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorShakeel Butt <[email protected]>2025-02-28 02:23:54 +0000
committerAndrew Morton <[email protected]>2025-03-17 07:05:36 +0000
commit3dc30ef64ba6b0f4c2a38aec7e87691f2d859b84 (patch)
treed5c26dafa45b7ede7ab33d2a97bd953f86ccaac7 /mm/hugetlb.c
parentpage_counter: reduce struct page_counter size (diff)
downloadkernel-3dc30ef64ba6b0f4c2a38aec7e87691f2d859b84.tar.gz
kernel-3dc30ef64ba6b0f4c2a38aec7e87691f2d859b84.zip
memcg: bypass root memcg check for skmem charging
The root memcg is never associated with a socket in mem_cgroup_sk_alloc, so there is no need to check if the given memcg is root for the skmem charging code path. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Shakeel Butt <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Muchun Song <[email protected]> Cc: Roman Gushchin (Cruise) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions