[PATCH 0/4] cpumask: add missing API and simplify cpumask_any_housekeeping()
From: Yury Norov
Date: Mon Apr 07 2025 - 11:46:47 EST
From: Yury Norov [NVIDIA] <yury.norov@xxxxxxxxx>
cpumask library missed some flavors of cpumask_any_but(), which makes
users to workaround it by using less efficient cpumask_nth() functions.
Yury Norov (4):
relax cpumask_any_but()
find: add find_first_andnot_bit()
cpumask_first_andnot
resctrl
arch/x86/kernel/cpu/resctrl/internal.h | 28 +++-------
include/linux/cpumask.h | 71 +++++++++++++++++++++++++-
include/linux/find.h | 25 +++++++++
lib/find_bit.c | 11 ++++
4 files changed, 112 insertions(+), 23 deletions(-)
--
2.43.0