[GIT PULL v2] bitmap changes for 6.10

From: Yury Norov
Date: Sun May 19 2024 - 19:22:16 EST


The following changes since commit 678e14c772130d3a83225ed56fb9860a40bca38b:

Merge tag 'soc-fixes-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc (2024-04-12 13:02:27 -0700)

are available in the Git repository at:

https://github.com:/norov/linux.git tags/bitmap-for-6.10v2

for you to fetch changes up to 5671dca241b9a2f4ecf88d8e992041cfb580e0a5:

usercopy: Don't use "proxy" headers (2024-05-19 16:12:38 -0700)

----------------------------------------------------------------
bitmap patches for 6.10

Hi Linus,

Please pull patches for 6.10. This includes:
- topology_span_sane() optimization from Kyle Meyer;
- fns() rework from Kuan-Wei Chiu (used in
cpumask_local_spread() and other places); and
- headers cleanup from Andy.

This also adds a MAINTAINERS record for bitops API as it's unattended,
and I'd like to follow it closer.

v2: drop binary fns().

Thanks,
Yury

----------------------------------------------------------------
Andy Shevchenko (2):
bitops: Move aligned_byte_mask() to wordpart.h
usercopy: Don't use "proxy" headers

Kuan-Wei Chiu (2):
lib/test_bitops: Add benchmark test for fns()
bitops: Optimize fns() for improved performance

Kyle Meyer (2):
cpumask: Add for_each_cpu_from()
sched/topology: Optimize topology_span_sane()

Yury Norov (4):
Compiler Attributes: Add __always_used macro
lib: make test_bitops compilable into the kernel image
bitmap: relax find_nth_bit() limitation on return value
MAINTAINERS: add BITOPS API record

MAINTAINERS | 14 ++++++++++++++
include/linux/bitops.h | 19 +++----------------
include/linux/compiler_attributes.h | 13 +++++++++++++
include/linux/cpumask.h | 10 ++++++++++
include/linux/find.h | 2 +-
include/linux/wordpart.h | 7 +++++++
kernel/sched/topology.c | 6 ++----
lib/Kconfig.debug | 1 -
lib/find_bit.c | 2 +-
lib/test_bitmap.c | 4 ++--
lib/test_bitops.c | 28 ++++++++++++++++++++++++++++
lib/usercopy.c | 9 +++++++--
12 files changed, 88 insertions(+), 27 deletions(-)