]> Git Repo - linux.git/commit
arch: remove GENERIC_FIND_FIRST_BIT entirely
authorYury Norov <[email protected]>
Sat, 14 Aug 2021 21:17:00 +0000 (14:17 -0700)
committerYury Norov <[email protected]>
Sat, 15 Jan 2022 16:47:31 +0000 (08:47 -0800)
commitc126a53c276048125b4a950072bab37ad0fea120
treea6afa48b9c781a8558ff7cfec59c2f617fd43991
parent47d8c15615c0a2046d2d90b04cb80b81ddf31fb1
arch: remove GENERIC_FIND_FIRST_BIT entirely

In 5.12 cycle we enabled GENERIC_FIND_FIRST_BIT config option for ARM64
and MIPS. It increased performance and shrunk .text size; and so far
I didn't receive any negative feedback on the change.

https://lore.kernel.org/linux-arch/20210225135700.1381396[email protected]/

Now I think it's a good time to switch all architectures to use
find_{first,last}_bit() unconditionally, and so remove corresponding
config option.

The patch does't introduce functioal changes for arc, arm, arm64, mips,
m68k, s390 and x86, for other architectures I expect improvement both in
performance and .text size.

Signed-off-by: Yury Norov <[email protected]>
Tested-by: Alexander Lobakin <[email protected]> (mips)
Reviewed-by: Alexander Lobakin <[email protected]> (mips)
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Will Deacon <[email protected]>
Tested-by: Wolfram Sang <[email protected]>
arch/arc/Kconfig
arch/arm64/Kconfig
arch/mips/Kconfig
arch/s390/Kconfig
arch/x86/Kconfig
arch/x86/um/Kconfig
include/linux/find.h
lib/Kconfig
This page took 0.044225 seconds and 4 git commands to generate.