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

Re: [Xen-devel] [PATCH for-next 2/2] xen/x86: Drop sync_core()



>>> On 19.05.17 at 20:49, <andrew.cooper3@xxxxxxxxxx> wrote:
> As identified in Linux c/s c198b121b1a1d "x86/asm: Rewrite sync_core() to use
> IRET-to-self", sync_core() is only appropriate for two very specific usecases.
> 
> Xen doesn't have need of either of these usecases, so drop sync_core() to
> avoid any misuse.
> 
> In the unlikely event that we do gain a legitimate use for sync_core(), it
> should be reintroduced as a mov to %cr2 rather than cpuid, which has a lower
> overhead.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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