lkml.org 
[lkml]   [2022]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.

\
 
 \ /
  Last update: 2022-02-24 20:24    [W:0.247 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site