]> Git Repo - linux.git/commit
dma-pool: do not allocate pool memory from CMA
authorNicolas Saenz Julienne <[email protected]>
Wed, 8 Jul 2020 16:49:39 +0000 (18:49 +0200)
committerChristoph Hellwig <[email protected]>
Tue, 14 Jul 2020 13:46:32 +0000 (15:46 +0200)
commitd9765e41d8e9ea2251bf73735a2895c8bad546fc
treefad971ec351934779672b6a068a42c5581a575c4
parent81e9d894e03f9a279102c7aac62ea7cbf9949f4b
dma-pool: do not allocate pool memory from CMA

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. So stop using it.

Fixes: c84dc6e68a1d ("dma-pool: add additional coherent pools to map to gfp mask")
Reported-by: Jeremy Linton <[email protected]>
Signed-off-by: Nicolas Saenz Julienne <[email protected]>
Tested-by: Jeremy Linton <[email protected]>
Acked-by: David Rientjes <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
kernel/dma/pool.c
This page took 0.054376 seconds and 4 git commands to generate.