[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] xen: Introduce asm inline and use it for BUG_FRAME



On Fri, 16 May 2025, Jan Beulich wrote:
> 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.cooper3@xxxxxxxxxx>
> 
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

arm:

Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.