Re: [Xen-devel] [PATCH v3 24/25] x86/shadow: fully move unmap-dest into common code

2018-02-02 Thread Andrew Cooper
On 07/12/17 14:18, Jan Beulich wrote: > @@ -1778,6 +1781,42 @@ void *sh_emulate_map_dest(struct vcpu *v > return map; > } > > +/**/ > +/* Optimization: If we see two emulated writes of zeros to the same > + * page-table

[Xen-devel] [PATCH v3 24/25] x86/shadow: fully move unmap-dest into common code

2017-12-07 Thread Jan Beulich
By adding guest PTE size to shadow emulation context, the work begun by commit 2c80710a78 ("x86/shadow: compile most write emulation code just once") can be completed, paving the road for further movement into common code. Signed-off-by: Jan Beulich --- v3: New. --- a/xen/arch/x86/mm/shadow/comm