Commit aff3f643 authored by Erick Reyes's avatar Erick Reyes
Browse files

edgetpu: use kvmalloc for pages array



Under heavy memory pressure, allocating a physically contiguous buffer
for a struct pages * array may fail. Since this array does not need to
be physically contiguous, switch to kvmalloc instead.

Bug: 193759145

Signed-off-by: default avatarErick Reyes <erickreyes@google.com>
Change-Id: I810019402315e7211e00f942dff5fc32687a3d25
parent 35c35f58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment