Re: [PATCH v7 08/15] x86_64/mm: switch to new APIs in setup_m2p_table

2020-07-14 Thread Jan Beulich
On 29.05.2020 13:11, Hongyan Xia wrote: > From: Wei Liu > > Avoid repetitive mapping of l2_ro_mpt by keeping it across loops, and > only unmap and map it when crossing 1G boundaries. Oh, one other thing: This reads as if there were such repetitive mapping operations, and the patch took care of t

Re: [PATCH v7 08/15] x86_64/mm: switch to new APIs in setup_m2p_table

2020-07-14 Thread Jan Beulich
On 29.05.2020 13:11, Hongyan Xia wrote: > From: Wei Liu > > Avoid repetitive mapping of l2_ro_mpt by keeping it across loops, and > only unmap and map it when crossing 1G boundaries. > > Signed-off-by: Wei Liu > Signed-off-by: Hongyan Xia Reviewed-by: Jan Beulich I do think, however, that .

[PATCH v7 08/15] x86_64/mm: switch to new APIs in setup_m2p_table

2020-05-29 Thread Hongyan Xia
From: Wei Liu Avoid repetitive mapping of l2_ro_mpt by keeping it across loops, and only unmap and map it when crossing 1G boundaries. Signed-off-by: Wei Liu Signed-off-by: Hongyan Xia --- Changed in v7: - avoid repetitive mapping of l2_ro_mpt. - edit commit message. - switch to alloc_map_cle