diff options
| author | Roman Gushchin <roman.gushchin@linux.dev> | 2024-06-28 21:03:16 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-04 18:05:57 -0700 |
| commit | 1c3a0b3d0b11fb98c40360f849563185218c2dd4 (patch) | |
| tree | 7703191c3cee39878a98de7582770c34162f4d1a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | mm: memcg: guard memcg1-specific members of struct mem_cgroup_per_node (diff) | |
| download | linux-1c3a0b3d0b11fb98c40360f849563185218c2dd4.tar.gz linux-1c3a0b3d0b11fb98c40360f849563185218c2dd4.zip | |
mm: memcg: put struct task_struct::memcg_in_oom under CONFIG_MEMCG_V1
The memcg_in_oom field of the struct task_struct is not used by the cgroup
v2's memory controller, so it can be happily compiled out if
CONFIG_MEMCG_V1 is not set.
Link: https://lkml.kernel.org/r/20240628210317.272856-9-roman.gushchin@linux.dev
Signed-off-by: Roman Gushchin <roman.gushchin@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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
