Re: [PATCH v1 9/9] mm: memcg: put struct task_struct::in_user_fault under CONFIG_MEMCG_V1

From: Shakeel Butt
Date: Fri Jun 28 2024 - 20:56:11 EST


On Fri, Jun 28, 2024 at 09:03:17PM GMT, Roman Gushchin wrote:
> 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.
>
> Signed-off-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>

Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>