# Re: (subset) \[PATCH 0/2\] arch: enable GENERIC\_FIND\_FIRST\_BIT for MIPS and ARM64

- From: Catalin Marinas \<catalin.marinas@arm.com\>
- Date: 2021-03-15 19:15:06 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/03/6302320
- Thread: https://ratatoskr.run/linux-mips/2021/02/6278890/t.md

```text
On Thu, 25 Feb 2021 05:56:58 -0800, Yury Norov wrote:
> 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:
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/2] ARM64: enable GENERIC_FIND_FIRST_BIT
      https://git.kernel.org/arm64/c/98c5ec77c7c5

-- 
Catalin


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
