Skip to content
Commit e24b1f6c authored by detule's avatar detule Committed by Phil Elwell
Browse files

vchiq_2835_arm: Implement a DMA pool for small bulk transfers (#2699)



During a bulk transfer we request a DMA allocation to hold the
scatter-gather list.  Most of the time, this allocation is small
(<< PAGE_SIZE), however it can be requested at a high enough frequency
to cause fragmentation and/or stress the CMA allocator (think time
spent in compaction here, or during allocations elsewhere).

Implement a pool to serve up small DMA allocations, falling back
to a coherent allocation if the request is greater than
VCHIQ_DMA_POOL_SIZE.

Signed-off-by: default avatarOliver Gjoneski <ogjoneski@gmail.com>
parent e117f3e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment