linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] nodemask: align nodes_and{,not} with underlying bitmap ops
@ 2026-01-14 17:22 Yury Norov
  2026-01-14 17:22 ` [PATCH 1/3] nodemask: propagate boolean for nodes_and{,not} Yury Norov
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Yury Norov @ 2026-01-14 17:22 UTC (permalink / raw)
  To: Andrew Morton, Alistair Popple, Byungchul Park,
	David Hildenbrand, Gregory Price, Johannes Weiner, Joshua Hahn,
	Liam R. Howlett, Lorenzo Stoakes, Matthew Brost, Michal Hocko,
	Michal Koutný,
	Mike Rapoport, Rakie Kim, Suren Baghdasaryan, Tejun Heo,
	Vlastimil Babka, Waiman Long, Ying Huang, Zi Yan, cgroups
  Cc: Yury Norov, Yury Norov, Rasmus Villemoes, linux-mm, linux-kernel

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-01-14 19:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-14 17:22 [PATCH 0/3] nodemask: align nodes_and{,not} with underlying bitmap ops Yury Norov
2026-01-14 17:22 ` [PATCH 1/3] nodemask: propagate boolean for nodes_and{,not} Yury Norov
2026-01-14 17:56   ` Gregory Price
2026-01-14 17:22 ` [PATCH 2/3] mm: use nodes_and() return value to simplify client code Yury Norov
2026-01-14 17:56   ` Gregory Price
2026-01-14 17:22 ` [PATCH 3/3] cgroup: use nodes_and() output where appropriate Yury Norov
2026-01-14 18:00   ` Gregory Price
2026-01-14 19:37 ` [PATCH 0/3] nodemask: align nodes_and{,not} with underlying bitmap ops Joshua Hahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox