[PATCH 0/3] for_each_*_bit: move to find.h and reconsider
Yury Norov
yury.norov at gmail.com
Wed Jul 28 14:57:02 UTC 2021
Ping?
On Fri, Jun 18, 2021 at 12:57:32PM -0700, Yury Norov wrote:
> for_each_bit() macro family uses find_bit() functions, so it's better
> to have for_each_bit() and find_bit() functions in the same header.
>
> This series puts for_each_bit() to a proper place and optimizes its
> usage over the kernel.
>
> The series is based on this:
> https://lore.kernel.org/linux-arch/20210612123639.329047-1-yury.norov@gmail.com/
>
> The full series can be found here:
> https://github.com/norov/linux/commits/bm-final
>
> Yury Norov (3):
> include/linux: move for_each_bit() macros from bitops.h to find.h
> find: micro-optimize for_each_{set,clear}_bit()
> Replace for_each_*_bit_from() with for_each_*_bit() where appropriate
>
> arch/x86/kernel/apic/vector.c | 4 ++--
> drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 4 ++--
> drivers/hwmon/ltc2992.c | 3 +--
> include/linux/bitops.h | 34 ---------------------------
> include/linux/find.h | 34 +++++++++++++++++++++++++++
> 5 files changed, 39 insertions(+), 40 deletions(-)
>
> --
> 2.30.2
More information about the etnaviv
mailing list