OSDN Git Service

dma-remap: support DMA_ATTR_NO_KERNEL_MAPPING
authorChristoph Hellwig <hch@lst.de>
Sun, 4 Nov 2018 16:51:50 +0000 (17:51 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 1 Dec 2018 17:07:14 +0000 (18:07 +0100)
commite440e26a0251b054243b3db6356f3869a9f9c2d1
treeb412be8108c7265f1d4a6e99c3dcbaea18ed2662
parentbfd56cd605219d90b210a5377fca31a644efe95c
dma-remap: support DMA_ATTR_NO_KERNEL_MAPPING

Do not waste vmalloc space on allocations that do not require a mapping
into the kernel address space.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
kernel/dma/remap.c