diff options
| author | Roman Gushchin <roman.gushchin@linux.dev> | 2024-06-28 21:03:17 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-04 18:05:57 -0700 |
| commit | 1419ff984aad4c08d121793f71a520b432ead88a (patch) | |
| tree | 38880272f7ff2703f7da43bbdd5c2f7a33d425e4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | mm: memcg: put struct task_struct::memcg_in_oom under CONFIG_MEMCG_V1 (diff) | |
| download | linux-1419ff984aad4c08d121793f71a520b432ead88a.tar.gz linux-1419ff984aad4c08d121793f71a520b432ead88a.zip | |
mm: memcg: put struct task_struct::in_user_fault under CONFIG_MEMCG_V1
The struct task_struct's in_user_fault member is not used by the cgroup
v2's memory controller, so it can be put under the CONFIG_MEMCG_V1 config
option. To do so, mem_cgroup_enter_user_fault() and
mem_cgroup_exit_user_fault() are moved under the CONFIG_MEMCG_V1 option as
well.
Link: https://lkml.kernel.org/r/20240628210317.272856-10-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
