Re: [PATCH v10 01/13] x86/mm: rewrite virt_to_xen_l*e

2021-04-22 Thread Jan Beulich
On 21.04.2021 16:15, Hongyan Xia wrote: > From: Wei Liu > > Rewrite those functions to use the new APIs. Modify its callers to unmap > the pointer returned. Since alloc_xen_pagetable_new() is almost never > useful unless accompanied by page clearing and a mapping, introduce a > helper alloc_map_c

[PATCH v10 01/13] x86/mm: rewrite virt_to_xen_l*e

2021-04-21 Thread Hongyan Xia
From: Wei Liu Rewrite those functions to use the new APIs. Modify its callers to unmap the pointer returned. Since alloc_xen_pagetable_new() is almost never useful unless accompanied by page clearing and a mapping, introduce a helper alloc_map_clear_xen_pt() for this sequence. Signed-off-by: Wei