Commit 2fedc413 authored by Nick Chung's avatar Nick Chung Committed by TreeHugger Robot
Browse files

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: default avatarNick Chung <nickchung@google.com>
Change-Id: I919056c40598895f42b59ba77ee6fb765501486a
parent c89d7c7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment