Re: [PATCH] powerpc/bitops: Force inlining of fls()

From: Michael Ellerman
Date: Sat Mar 12 2022 - 05:31:07 EST


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