Re: [PATCH -next] mm/memcontrol.c: remove unused private flag of memory.oom_control

From: Johannes Weiner
Date: Thu Apr 21 2022 - 10:18:08 EST


On Thu, Apr 21, 2022 at 08:27:55PM +0800, Lu Jialin wrote:
> There is no use for the private value, __OOM_TYPE and OOM notifier
> OOM_CONTROL. Therefore remove them to make the code clean.
>
> Signed-off-by: Lu Jialin <lujialin4@xxxxxxxxxx>

Good catch, it's been unused since 347c4a874710 ("memcg: remove
cgroup_event->cft").

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>