[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210618195735.55933-1-yury.norov@gmail.com>
Date: Fri, 18 Jun 2021 12:57:32 -0700
From: Yury Norov <yury.norov@...il.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>,
Lucas Stach <l.stach@...gutronix.de>,
Russell King <linux+etnaviv@...linux.org.uk>,
Christian Gmeiner <christian.gmeiner@...il.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Marc Zyngier <maz@...nel.org>,
David Woodhouse <dwmw@...zon.co.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
Wei Yang <richard.weiyang@...ux.alibaba.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Alexey Klimov <aklimov@...hat.com>, x86@...nel.org,
linux-kernel@...r.kernel.org, etnaviv@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linux-hwmon@...r.kernel.org
Cc: Yury Norov <yury.norov@...il.com>
Subject: [PATCH 0/3] for_each_*_bit: move to find.h and reconsider
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
Powered by blists - more mailing lists