2022-04-22 21:04:23

by Johannes Weiner

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

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 <[email protected]>

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

Acked-by: Johannes Weiner <[email protected]>