Re: [PATCH -tip] x86/locking/atomic: Use asm_inline for atomic locking insns

From: Borislav Petkov
Date: Wed Mar 05 2025 - 15:37:05 EST


On Wed, Mar 05, 2025 at 09:54:11AM +0100, Uros Bizjak wrote:
> The -Os argument was to show the effect of the patch when the compiler
> is instructed to take care of the overall size. Giving the compiler
> -O2 and then looking at the overall size of the produced binary is
> just wrong.

No one cares about -Os AFAICT. It might as well be non-existent. So the effect
doesn't matter.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette