[PATCH] dma-pool: Do not allocate pool memory from CMA

David Rientjes rientjes at google.com
Thu Jul 9 17:47:38 EDT 2020


On Wed, 8 Jul 2020, Nicolas Saenz Julienne wrote:

> 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 <jeremy.linton at arm.com>
> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>

Acked-by: David Rientjes <rientjes at google.com>

Thanks Nicolas!



More information about the linux-rpi-kernel mailing list