Commit e461457b authored by Shubhraprakash Das's avatar Shubhraprakash Das Committed by Linux Build Service Account
Browse files

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
Change-Id: I75cd0d1634c6f8ff4d91e615122fdcfada00ec69
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent fe0a7d26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment