[PATCH 0/3] nodemask: align nodes_and{,not} with underlying bitmap ops

From: Yury Norov

Date: Wed Jan 14 2026 - 12:22:25 EST


nodes_and{,not} are void despite that underlying bitmap_and(,not) return
boolean, true if the result bitmap is non-empty. Align nodemask API, and
simplify client code.

Yury Norov (3):
nodemask: propagate boolean for nodes_and{,not}
mm: use nodes_and() return value to simplify client code
cgroup: use nodes_and() output where appropriate

include/linux/nodemask.h | 8 ++++----
kernel/cgroup/cpuset.c | 7 +++----
mm/memory-tiers.c | 3 +--
mm/mempolicy.c | 3 +--
4 files changed, 9 insertions(+), 12 deletions(-)

--
2.43.0