On Fri, May 15, 2020 at 5:10 PM Thomas Gleixner <t...@linutronix.de> wrote: > > > xen_failsafe_callback is invoked from XEN for two cases: > > 1. Fault while reloading DS, ES, FS or GS > 2. Fault while executing IRET > > #1 retries the IRET after XEN has fixed up the segments. > #2 injects a #GP which kills the task > > For #1 there is no reason to go through the full exception return path > because the tasks TIF state is still the same. So just going straight to > the IRET path is good enough.
Seems reasonable: Acked-by: Andy Lutomirski <l...@kernel.org> Although a look from a Xen person might be nice too.