aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRobin Murphy <[email protected]>2017-01-16 13:24:55 +0000
committerJoerg Roedel <[email protected]>2017-01-30 15:14:24 +0000
commit122fac030e912ed723fe94d8eb0d5d0f6b31535e (patch)
treeddfdbf1d6725f348ece0fffe7dc839077c32cc5a /net/unix/af_unix.c
parentiommu/dma: Stop getting dma_32bit_pfn wrong (diff)
downloadkernel-122fac030e912ed723fe94d8eb0d5d0f6b31535e.tar.gz
kernel-122fac030e912ed723fe94d8eb0d5d0f6b31535e.zip
iommu/dma: Implement PCI allocation optimisation
Whilst PCI devices may have 64-bit DMA masks, they still benefit from using 32-bit addresses wherever possible in order to avoid DAC (PCI) or longer address packets (PCIe), which may incur a performance overhead. Implement the same optimisation as other allocators by trying to get a 32-bit address first, only falling back to the full mask if that fails. Signed-off-by: Robin Murphy <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions