Re: [Xen-devel] [PATCH v7.2 07/24] x86/mm: Introduce modify_xen_mappings()

2016-04-12 Thread Andrew Cooper
On 11/04/16 18:54, Jan Beulich wrote: On 11.04.16 at 19:46, wrote: >> To simply change the permissions on existing Xen mappings. The existing >> destroy_xen_mappings() is altered to support a change the PTE permissions. >> >> A new destroy_xen_mappings() is introduced, as the special case of

Re: [Xen-devel] [PATCH v7.2 07/24] x86/mm: Introduce modify_xen_mappings()

2016-04-11 Thread Jan Beulich
>>> On 11.04.16 at 19:46, wrote: > To simply change the permissions on existing Xen mappings. The existing > destroy_xen_mappings() is altered to support a change the PTE permissions. > > A new destroy_xen_mappings() is introduced, as the special case of not passing > _PAGE_PRESENT to modify_xen

[Xen-devel] [PATCH v7.2 07/24] x86/mm: Introduce modify_xen_mappings()

2016-04-11 Thread Andrew Cooper
To simply change the permissions on existing Xen mappings. The existing destroy_xen_mappings() is altered to support a change the PTE permissions. A new destroy_xen_mappings() is introduced, as the special case of not passing _PAGE_PRESENT to modify_xen_mappings(). As cleanup (and an ideal funct