Re: [PATCH 0/3] nodemask: align nodes_and{,not} with underlying bitmap ops
From: Joshua Hahn
Date: Wed Jan 14 2026 - 14:38:00 EST
On Wed, 14 Jan 2026 12:22:12 -0500 Yury Norov <ynorov@xxxxxxxxxx> wrote:
> 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
The entire set LGTM, thank you for this patchset! Feel free to add:
Reviewed-by: Joshua Hahn <joshua.hahnjy@xxxxxxxxx>
For the entire series. Have a great day!
Joshua