Skip to content

nodemask: align nodes_and{,not} with underlying bitmap ops

Yury Norov cgroups linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review 2 of 3 applied

Patches in v1 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3nodemask: propagate boolean for nodes_and{,not}include/linux/nodemask.h+4 -42 replies
2/3mm: use nodes_and() return value to simplify client codemm/memory-tiers.c mm/mempolicy.c+2 -43 repliesApplied
3/3cgroup: use nodes_and() output where appropriatekernel/cgroup/cpuset.c+3 -45 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGregory PriceJoshua HahnMichal KoutnýWaiman LongChen RidongVlastimil BabkaDavid Hildenbrand (Red Hat)Tejun Heo
SeriesR-b
1/3R-b R-b
2/3R-b A-b A-b
3/3R-b R-b R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v1 thread

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

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(-)
Signature · 1 line
2.43.0