diff options
| author | Roman Gushchin <roman.gushchin@linux.dev> | 2024-06-28 21:03:13 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-04 18:05:56 -0700 |
| commit | 05dfec123ddefd058b72b3de8eaf6e4d0de11292 (patch) | |
| tree | b244a6c44ff616e93389ccf514a12e9bcc23dedc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | mm: memcg: gather memcg1-specific fields initialization in memcg1_memcg_init() (diff) | |
| download | linux-05dfec123ddefd058b72b3de8eaf6e4d0de11292.tar.gz linux-05dfec123ddefd058b72b3de8eaf6e4d0de11292.zip | |
mm: memcg: guard memcg1-specific fields accesses in mm/memcontrol.c
There are only few memcg1-specific struct mem_cgroup's members accesses
left in mm/memcontrol.c. Let's guard them with the CONFIG_MEMCG_V1 config
option.
Link: https://lkml.kernel.org/r/20240628210317.272856-6-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-postgresql.py')
0 files changed, 0 insertions, 0 deletions
