On 15.05.2025 21:55, Andrew Cooper wrote:
> Compilers estimate the size of an asm() block for inlining purposes.
> 
> Constructs with embedded metadata (BUG_FRAME, ALTERNATIVE, EXTABLE, etc)
> appear large, depsite often only being a handful of instructions.  asm
> inline() overrides the estimation to identify the block as being small.
> 
> This has a substantial impact on inlining decisions, expected to be for the
> better given that the compiler has a more accurate picture to work with.
> 
> No functional change.
> 
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>


Reply via email to