+2
−1
+6
−0
drivers/gpu/msm/kgsl_pool.c
0 → 100644
+341
−0
drivers/gpu/msm/kgsl_pool.h
0 → 100644
+43
−0
+77
−94
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>