Re: [Xen-devel] [PATCH v5 3/4] x86/mm: use cache in guest_walk_tables()

2020-03-03 Thread Durrant, Paul
> -Original Message- > From: Xen-devel On Behalf Of Jan > Beulich > Sent: 03 March 2020 10:19 > To: xen-devel@lists.xenproject.org > Cc: Andrew Cooper ; Roger Pau Monné > ; Tim Deegan > ; Wei Liu ; Paul Durrant > Subject: [EXTERNAL][Xen-devel] [PATCH v

[Xen-devel] [PATCH v5 3/4] x86/mm: use cache in guest_walk_tables()

2020-03-03 Thread Jan Beulich
Emulation requiring device model assistance uses a form of instruction re-execution, assuming that the second (and any further) pass takes exactly the same path. This is a valid assumption as far as use of CPU registers goes (as those can't change without any other instruction executing in between