Memory: Use kvmalloc instead of kmalloc
It's better to use kvmalloc for objects it's possiblely
greater than page size in the kernel to deal with the
allocation size is too large. The advantage of kvmalloc
still used kmalloc at small allocation size (< PAGE_SIZE).
Bug: 194329284
Test: GCA, CTS
Signed-off-by:
Nick Chung <nickchung@google.com>
Change-Id: I919056c40598895f42b59ba77ee6fb765501486a
Loading
Please sign in to comment