linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arch: enable GENERIC_FIND_FIRST_BIT for MIPS and ARM64
@ 2021-02-25 13:56 Yury Norov
  2021-02-25 13:56 ` [RESEND PATCH 1/2] ARM64: enable GENERIC_FIND_FIRST_BIT Yury Norov
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Yury Norov @ 2021-02-25 13:56 UTC (permalink / raw)
  To: Will Deacon, Catalin Marinas, Thomas Bogendoerfer,
	Alexander Lobakin, Alexey Klimov, linux-arm-kernel, linux-kernel,
	linux-arch, linux-mips
  Cc: Yury Norov

MIPS and ARM64 don't implement find_first_{zero}_bit in arch code and
don't enable it in config. It leads to using find_next_bit() which is
less efficient:

It's beneficial to enable GENERIC_FIND_FIRST_BIT as this functionality
is not new at all and well-tested. It provides more optimized code and
saves .text memory:

Alexander Lobakin (1):
  MIPS: enable GENERIC_FIND_FIRST_BIT

Yury Norov (1):
  arm64: enable GENERIC_FIND_FIRST_BIT

 arch/arm64/Kconfig | 1 +
 arch/mips/Kconfig  | 1 +
 2 files changed, 2 insertions(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-03-15 19:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 13:56 [PATCH 0/2] arch: enable GENERIC_FIND_FIRST_BIT for MIPS and ARM64 Yury Norov
2021-02-25 13:56 ` [RESEND PATCH 1/2] ARM64: enable GENERIC_FIND_FIRST_BIT Yury Norov
2021-02-25 14:02   ` Will Deacon
2021-03-03 22:17     ` Yury Norov
2021-03-05 11:20       ` Catalin Marinas
2021-02-25 13:57 ` [PATCH 2/2] MIPS: " Yury Norov
2021-02-26  1:22   ` Huacai Chen
2021-02-26  4:07     ` Yury Norov
2021-03-01 14:49   ` Thomas Bogendoerfer
2021-03-15 19:14 ` (subset) [PATCH 0/2] arch: enable GENERIC_FIND_FIRST_BIT for MIPS and ARM64 Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).