]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpumask: Add cpumask_{first,next}_andnot() API
authorYury Norov [NVIDIA] <yury.norov@gmail.com>
Thu, 15 May 2025 16:58:33 +0000 (16:58 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 15 May 2025 18:28:12 +0000 (20:28 +0200)
commit5da703ef4e4a82b2f9a00f2b3a1eae5657e68a92
treeb2491bf6dedd048d57ac61f0d02580f4fa998325
parent13f0a02bf4c1c5888c736cedef9ca50de666adb3
cpumask: Add cpumask_{first,next}_andnot() API

With the lack of the functions, client code has to abuse less efficient
cpumask_nth().

Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: James Morse <james.morse@arm.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: James Morse <james.morse@arm.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/20250515165855.31452-4-james.morse@arm.com
include/linux/cpumask.h