Re: [PATCH] memory: avoid pointless continuation in xenmem_add_to_physmap()

2021-01-14 Thread Jan Beulich
On 13.01.2021 20:09, Julien Grall wrote: > On 04/12/2020 10:43, Jan Beulich wrote: >> Adjust so we uniformly avoid needlessly arranging for a continuation on >> the last iteration. >> >> Fixes: 5777a3742d88 ("IOMMU: hold page ref until after deferred TLB flush") > > I view this patch as an optimiz

Re: [PATCH] memory: avoid pointless continuation in xenmem_add_to_physmap()

2021-01-13 Thread Julien Grall
Hi Jan, On 04/12/2020 10:43, Jan Beulich wrote: Adjust so we uniformly avoid needlessly arranging for a continuation on the last iteration. Fixes: 5777a3742d88 ("IOMMU: hold page ref until after deferred TLB flush") I view this patch as an optimization because there is nothing wrong with the

[PATCH] memory: avoid pointless continuation in xenmem_add_to_physmap()

2020-12-04 Thread Jan Beulich
Adjust so we uniformly avoid needlessly arranging for a continuation on the last iteration. Fixes: 5777a3742d88 ("IOMMU: hold page ref until after deferred TLB flush") Signed-off-by: Jan Beulich --- a/xen/common/memory.c +++ b/xen/common/memory.c @@ -854,8 +854,9 @@ int xenmem_add_to_physmap(str