[PATCH] powerpc/bitops: Force inlining of fls()
Michael Ellerman
patch-notifications at ellerman.id.au
Sat Mar 12 21:29:47 AEDT 2022
On Fri, 11 Feb 2022 09:51:32 +0100, Christophe Leroy wrote:
> Building a kernel with CONFIG_CC_OPTIMISE_FOR_SIZE leads to
> the following functions being copied several times in vmlinux:
>
> 31 times __ilog2_u32()
> 34 times fls()
>
> Disassembly follows:
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/bitops: Force inlining of fls()
https://git.kernel.org/powerpc/c/0b0057cc4193c7cd9c0829a440e4901b29ce4ff8
cheers
More information about the Linuxppc-dev
mailing list