Re: [PATCH v2] iommu/io-pgtable-arm: Make allocations NUMA-aware

2018-05-29 Thread Joerg Roedel
On Tue, May 22, 2018 at 12:50:09PM +0100, Robin Murphy wrote: > Acked-by: Will Deacon > Signed-off-by: Robin Murphy > --- > > v2: Retain equivalent highmem check > > drivers/iommu/io-pgtable-arm.c | 13 + > 1 file changed, 9 insertions(+), 4 deletions(-) Applied, thanks.

Re: [PATCH v2] iommu/io-pgtable-arm: Make allocations NUMA-aware

2018-05-22 Thread Will Deacon
On Tue, May 22, 2018 at 12:50:09PM +0100, Robin Murphy wrote: > We would generally expect pagetables to be read by the IOMMU more than > written by the CPU, so in NUMA systems it makes sense to locate them > close to the former and avoid cross-node pagetable walks if at all > possible. As it turns

[PATCH v2] iommu/io-pgtable-arm: Make allocations NUMA-aware

2018-05-22 Thread Robin Murphy
We would generally expect pagetables to be read by the IOMMU more than written by the CPU, so in NUMA systems it makes sense to locate them close to the former and avoid cross-node pagetable walks if at all possible. As it turns out, we already have a handle on the IOMMU device for the sake of