Re: [patch V5 02/38] x86/entry/64: Use native swapgs in asm_native_load_gs_index()

Jürgen Groß
2020-05-13T07:12:12Z

On 12.05.20 23:01, Thomas Gleixner wrote:
> When PARAVIRT_XXL is in use, then load_gs_index() uses
> xen_load_gs_index() and (asm_))native_load_gs_index() is unused.
>
> It's therefore pointless to use the paravirtualized SWAPGS implementation
> in asm_native_load_gs_index(). Switch it to a plain swapgs.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: Juergen Gross <jgross@suse.com>

Acked-by: Juergen Gross <jgross@suse.com>

Juergen