[PATCH 3/3] ARM: Kirkwood: increase atomic coherent pool size
Aaro Koskinen
aaro.koskinen at iki.fi
Mon Aug 20 19:14:19 EDT 2012
On Mon, Aug 20, 2012 at 12:47:28PM +0200, Marek Szyprowski wrote:
> The default 256 KiB coherent pool may be too small for some of the Kirkwood
> devices, so increase it to make sure that devices will be able to allocate
> their buffers with GFP_ATOMIC flag.
[...]
> + /*
> + * Some Kirkwood devices allocate their coherent buffers from atomic
> + * context. Increase size of atomic coherent pool to make sure such
> + * the allocations won't fail.
> + */
> + init_dma_coherent_pool_size(SZ_1M);
Not sure if it's a valid use case, but what if some user wants to drop
e.g. SATA driver and and free up some memory. Would a smaller coherent
pool kernel parameter override this code in that case?
A.
More information about the linux-arm-kernel
mailing list