lkml.org 
[lkml]   [2022]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 27/39] x86/entry,xen: Early rewrite of restore_regs_and_return_to_kernel()
Date
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
\
 
 \ /
  Last update: 2022-02-24 18:54    [W:0.851 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site