Re: [PATCH 2/3] mm: use nodes_and() return value to simplify client code

From: David Hildenbrand (Red Hat)

Date: Thu Jan 15 2026 - 15:32:57 EST


On 1/14/26 18:22, Yury Norov wrote:
establish_demotion_targets() and kernel_migrate_pages() call
node_empty() immediately after calling nodes_and(). Now that
nodes_and() return false if nodemask is empty, drop the latter.

Signed-off-by: Yury Norov <ynorov@xxxxxxxxxx>

Acked-by: David Hildenbrand (Red Hat) <david@xxxxxxxxxx>

--
Cheers

David