diff options
| author | Shakeel Butt <shakeel.butt@linux.dev> | 2025-02-28 05:23:54 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-17 10:05:36 +0300 |
| commit | 3dc30ef64ba6b0f4c2a38aec7e87691f2d859b84 (patch) | |
| tree | d5c26dafa45b7ede7ab33d2a97bd953f86ccaac7 /include/linux/console_struct.h | |
| parent | f7b0797d36e75d2a622580b56b9bfd3130d5d0e9 (diff) | |
| download | linux-3dc30ef64ba6b0f4c2a38aec7e87691f2d859b84.tar.xz | |
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/20250228022354.2624249-1-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/console_struct.h')
0 files changed, 0 insertions, 0 deletions
