| From | Andrew Cooper <> | Subject | Re: [PATCH v2 27/39] x86/entry,xen: Early rewrite of restore_regs_and_return_to_kernel() | Date | Thu, 24 Feb 2022 17:51:13 +0000 |
| |
On 24/02/2022 14:52, Peter Zijlstra wrote: > By doing an early rewrite of 'jmp native_iret` in > restore_regs_and_return_to_kernel() we can get rid of the last > INTERRUPT_RETURN user and paravirt_iret. > > Suggested-by: Andrew Cooper <Andrew.Cooper3@citrix.com> > Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
As an observation, if you move this earlier in the series, you'll reduce the churn by not needing to take out ENDBRs which you inserted previously.
Patches 25-27 all look like the can be prerequisites, ahead of patch 5.
~Andrew
|