Commit 964220d0 authored by Charan Teja Reddy's avatar Charan Teja Reddy Committed by Suren Baghdasaryan
Browse files

ANDROID: shmem: vendor hook in shmem_alloc_page



Some drivers can maintain its own pool of shmem pages that can reduce
the latencies in allocation of them by avoiding in getting a page from
buddy. To support this, add a vendor hook which first tries to get the
page from the driver maintained shmem pool when shmem_alloc_page is
called. If failed, it will simply fall back to the original path.

Bug: 187798288
Change-Id: I5deaf995b2e2ac40c2192096435954ee3f4a4fa8
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent bd2ca0ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment