Hi Julien,

> -----Original Message-----
> Subject: [PATCH v4 04/14] xen/arm: flushtlb: Reduce scope of barrier for the
> TLB range flush
> 
> From: Julien Grall <[email protected]>
> 
> At the moment, flush_xen_tlb_range_va{,_local}() are using system
> wide memory barrier. This is quite expensive and unnecessary.
> 
> For the local version, a non-shareable barrier is sufficient.
> For the SMP version, an inner-shareable barrier is sufficient.
> 
> Furthermore, the initial barrier only needs to a store barrier.
> 
> For the full explanation of the sequence see asm/arm{32,64}/flushtlb.h.
> 
> Signed-off-by: Julien Grall <[email protected]>
> Reviewed-by: Michal Orzel <[email protected]>

Reviewed-by: Henry Wang <[email protected]>

Kind regards,
Henry

Reply via email to