Re: [PATCH] make better use of mfn local variable in free_heap_pages()

2020-08-25 Thread Wei Liu
Please put "xen: " in the subject line. On Tue, Aug 25, 2020 at 02:31:12PM +0200, Jan Beulich wrote: > Besides the one use that there is in the function (of the value > calculated at function entry), there are two more places where the > redundant page-to-address conversion can be avoided. > > Si

Re: [PATCH] make better use of mfn local variable in free_heap_pages()

2020-08-25 Thread Julien Grall
Hi Jan, On 25/08/2020 13:31, Jan Beulich wrote: Besides the one use that there is in the function (of the value calculated at function entry), there are two more places where the redundant page-to-address conversion can be avoided. Signed-off-by: Jan Beulich Acked-by: Julien Grall Cheers,

[PATCH] make better use of mfn local variable in free_heap_pages()

2020-08-25 Thread Jan Beulich
Besides the one use that there is in the function (of the value calculated at function entry), there are two more places where the redundant page-to-address conversion can be avoided. Signed-off-by: Jan Beulich --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -1380,7 +1380,7 @@ sta