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

Shakeel Butt
2024-06-29T00:56:02Z

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@linux.dev>

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