staging: android: ion: Make ion defer free more aggressive
Heaps such as system heap use defer free where buffers are placed on
a free list and freed by a low priority background thread.This method
doesn't work very well when buffer allocation rate is high, in this case
the new allocations go to buddy instead of using pool of system heap
there by under utilising the pool.
Add support in Ion, via CONFIG_ION_DEFER_FREE_NO_SCHED_IDLE, this config
removes the low priority setting for defer free by removing the SCHED_IDLE
flag as a result we can get more pool allocations
Change-Id: I0e18e08b0d916e1d8822f38178f5ee39f07d6ca6
Signed-off-by:
Vijayanand Jitta <vjitta@codeaurora.org>
Loading
Please register or sign in to comment