Re: [PATCH 3/3] cgroup: use nodes_and() output where appropriate

From: Tejun Heo

Date: Fri Jan 16 2026 - 02:59:49 EST


On Wed, Jan 14, 2026 at 12:22:15PM -0500, Yury Norov wrote:
> Now that nodes_and() returns true if the result nodemask is not empty,
> drop useless nodes_intersects() in guarantee_online_mems() and
> nodes_empty() in update_nodemasks_hier(), which both are O(N).
>
> Signed-off-by: Yury Norov <ynorov@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Please feel free to route together with the prerequisite patches.

Thanks.

--
tejun