Files
linux/kernel/dma
Nicolas Saenz Julienne 1ca28e0d9e dma-pool: Only allocate from CMA when in same memory zone
[ Upstream commit d7e673ec2c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-03 11:29:34 +02:00
..
2018-12-13 21:06:12 +01:00