Re: [PATCH 01/17] AMD/IOMMU: avoid recording each level's MFN when walking page table

2021-08-25 Thread Andrew Cooper
On 24/08/2021 15:15, Jan Beulich wrote: > Both callers only care about the target (level 1) MFN. I also cannot > see what we might need higher level MFNs for down the road. And even > modern gcc doesn't recognize the optimization potential. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Coope

[PATCH 01/17] AMD/IOMMU: avoid recording each level's MFN when walking page table

2021-08-24 Thread Jan Beulich
Both callers only care about the target (level 1) MFN. I also cannot see what we might need higher level MFNs for down the road. And even modern gcc doesn't recognize the optimization potential. Signed-off-by: Jan Beulich --- a/xen/drivers/passthrough/amd/iommu_map.c +++ b/xen/drivers/passthroug