Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dma-pool: Only allocate from CMA when in same memory zone
[ Upstream commit d7e673e ] 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>
- Loading branch information