Re: [Xen-devel] [PATCH v7 5/6] x86/iommu: switch the hwdom mapping function to use page_get_type

2018-08-22 Thread Wei Liu
On Wed, Aug 22, 2018 at 09:51:59AM +0200, Roger Pau Monne wrote: > This avoids repeated calls to page_is_ram_type which improves > performance and makes the code easier to read. > > Signed-off-by: Roger Pau Monné > Reviewed-by: Jan Beulich Reviewed-by: Wei Liu > --- > Changes since v4: > -

[Xen-devel] [PATCH v7 5/6] x86/iommu: switch the hwdom mapping function to use page_get_type

2018-08-22 Thread Roger Pau Monne
This avoids repeated calls to page_is_ram_type which improves performance and makes the code easier to read. Signed-off-by: Roger Pau Monné Reviewed-by: Jan Beulich --- Changes since v4: - New in this version. --- Cc: Jan Beulich --- xen/drivers/passthrough/x86/iommu.c | 60