Re: [PATCH v10 02/13] x86/mm: switch to new APIs in map_pages_to_xen

2021-04-22 Thread Jan Beulich
On 21.04.2021 16:15, Hongyan Xia wrote: > From: Wei Liu > > Page tables allocated in that function should be mapped and unmapped > now. > > Take the opportunity to avoid a potential double map in > map_pages_to_xen() by initialising pl1e to NULL and only map it if it > was not mapped earlier. >

[PATCH v10 02/13] x86/mm: switch to new APIs in map_pages_to_xen

2021-04-21 Thread Hongyan Xia
From: Wei Liu Page tables allocated in that function should be mapped and unmapped now. Take the opportunity to avoid a potential double map in map_pages_to_xen() by initialising pl1e to NULL and only map it if it was not mapped earlier. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia ---