Re: [PATCH -tip] x86/locking/atomic: Use asm_inline for atomic locking insns
From: Borislav Petkov
Date: Sat Mar 01 2025 - 07:38:37 EST
On Sat, Mar 01, 2025 at 10:05:56AM +0100, Uros Bizjak wrote:
> OTOH, -Os, where different code size/performance heuristics are used, now
> performs better w.r.t code size.
Did anything change since:
281dc5c5ec0f ("Give up on pushing CC_OPTIMIZE_FOR_SIZE")
3a55fb0d9fe8 ("Tell the world we gave up on pushing CC_OPTIMIZE_FOR_SIZE")
wrt -Os?
Because if not, we still don't love -Os and you can drop the -Os argument.
And without any perf data showing any improvement, this patch does nothing but
enlarge -O2 size...
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette