aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Nicolas Saenz Julienne <nsaenzjulienne@suse.de> 2020-08-14 12:26:23 +0200
committerGravatar Christoph Hellwig <hch@lst.de> 2020-08-14 16:27:05 +0200
commitd7e673ec2c8e0ea39c4c70fc490d67d7fbda869d (patch)
tree53d4869dd16cfe73992ceb71094b0914566d5f3d /drivers
parentdma-pool: fix coherent pool allocations for IOMMU mappings (diff)
downloadlinux-d7e673ec2c8e0ea39c4c70fc490d67d7fbda869d.tar.gz
linux-d7e673ec2c8e0ea39c4c70fc490d67d7fbda869d.tar.bz2
linux-d7e673ec2c8e0ea39c4c70fc490d67d7fbda869d.zip
dma-pool: Only allocate from CMA when in same memory zone
There is no guarantee to CMA's placement, so allocating a zone specific atomic pool from CMA might return memory from a completely different memory zone. To get around this double check CMA's placement before allocating from it. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions