Messages in this thread | | | Date | Thu, 24 Feb 2022 11:23:14 -0800 (PST) | From | David Rientjes <> | Subject | Re: [PATCH] mm/oom_kill: remove unneeded is_memcg_oom check |
| |
On Thu, 24 Feb 2022, Miaohe Lin wrote:
> oom_cpuset_eligible is always called when !is_memcg_oom. Remove this > unnecessary check. > > Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: David Rientjes <rientjes@google.com>
This keeps oom_cpuset_eligible() only in the nodemask eligibility business and memcg criteria remains isolated in its own function.
| |