[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1b625d1f-96eb-5535-1fd3-4e5ffa7d6c3e@google.com>
Date: Thu, 24 Feb 2022 11:23:14 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Miaohe Lin <linmiaohe@...wei.com>
cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
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@...wei.com>
Acked-by: David Rientjes <rientjes@...gle.com>
This keeps oom_cpuset_eligible() only in the nodemask eligibility business
and memcg criteria remains isolated in its own function.
Powered by blists - more mailing lists