Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2f402f3 authored by Vijayanand Jitta's avatar Vijayanand Jitta
Browse files

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: default avatarVijayanand Jitta <vjitta@codeaurora.org>
parent 24811cd3
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