Re: [PATCH 4/5] x86/HAP: move nested-P2M flush calculations out of locked region

2020-11-10 Thread Roger Pau Monné
On Wed, Oct 28, 2020 at 10:24:12AM +0100, Jan Beulich wrote: > By latching the old MFN into a local variable, these calculations don't > depend on anything but local variables anymore. Hence the point in time > when they get performed doesn't matter anymore, so they can be moved > past the locked r

[PATCH 4/5] x86/HAP: move nested-P2M flush calculations out of locked region

2020-10-28 Thread Jan Beulich
By latching the old MFN into a local variable, these calculations don't depend on anything but local variables anymore. Hence the point in time when they get performed doesn't matter anymore, so they can be moved past the locked region. Signed-off-by: Jan Beulich --- a/xen/arch/x86/mm/hap/hap.c