Skip to content
Commit 56e35c91 authored by detule's avatar detule Committed by popcornmix
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 c978ea6e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment