diff options
| author | Roman Gushchin <[email protected]> | 2024-06-28 21:03:17 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-04 18:05:57 -0700 |
| commit | 1419ff984aad4c08d121793f71a520b432ead88a (patch) | |
| tree | 38880272f7ff2703f7da43bbdd5c2f7a33d425e4 /tools/perf/scripts/python | |
| parent | 1c3a0b3d0b11fb98c40360f849563185218c2dd4 (diff) | |
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/[email protected]
Signed-off-by: Roman Gushchin <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions