diff options
| author | Shubhraprakash Das <sadas@codeaurora.org> | 2012-08-14 00:25:43 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-11-29 15:20:25 +0100 |
| commit | 666bda46d733bc4a3f6ff72b3589ccbdd0be3fc4 (patch) | |
| tree | bde84375b862afc10fb8ecb28f7d9d2525f11d8a /android | |
| parent | abf4059571e05d12199ae473bdfd95e6803a7bbf (diff) | |
lib: genalloc: Change chunk allocation to vmalloc
Change the chunk allocation from kmalloc to vmalloc for
allocations greater than a page. This allows large
chunks to be allocated from physically non-contiguous
memory and increases the chance of the allocation
succeeding.
CRs-fixed: 387655
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
(cherry picked from commit e461457b134e55c3ca68b91b70b8796e3f3dba69)
Change-Id: I576fed3dd33fdfa9742f0c91bea72417c4f0086f
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions
