Re: [PATCH v3] mm/vmscan: fix demotion targets checks in reclaim/demotion
From: Bing Jiao
Date: Tue Dec 23 2025 - 16:38:14 EST
On Tue, Dec 23, 2025 at 09:19:59PM +0000, Bing Jiao wrote:
> Fix two bugs in demote_folio_list() and can_demote() due to incorrect
> demotion target checks in reclaim/demotion.
>
Considering these bugs are introduced from one commit, I think
it is better to fix it in one patch rather than split it.
v3: Rename cpuset_node_allowed() as cpuset_node_get_allowed() to
return effective_mems directly, providing better versatility
(thanks Ridong for the suggestion).