diff options
author | Deepak Kumar <dkumar@codeaurora.org> | 2016-04-29 09:16:51 -0600 |
---|---|---|
committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-05 15:05:55 -0700 |
commit | 658f4b0454659b6a190a3e34a81b2a81d3341afd (patch) | |
tree | a3263d7bd69b11fb205a425258686f7c9a21ee67 /samples | |
parent | 436e7913d3e30609cbd04cfaac4d69c7b7f05838 (diff) |
msm: kgsl: Use a page pool to reduce allocation time
Use a mempool to reduce the allocation time. When memory allocated
from pages is freed, put it in a page pool. At allocation time, try
to allocate from the page pool before getting pages from the system.
Make sure that the pool does not grow too big by enforcing a
maximum limit.
Change-Id: Icac7fb4355ee1fd07e7127ea5c2721665e279272
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions