Commit ba364a23 authored by Edward Wu's avatar Edward Wu Committed by Treehugger Robot
Browse files

ANDROID: vendor_hooks: add vendor hook in cma_alloc()



Add android_vh_cma_alloc_busy_info vh after EBUSY not only useful for profiling but also pinned page handling.
Add android_vh_cma_alloc_start/android_vh_cma_alloc_finish to locate alloc_start and alloc_end for optimization.
Because the acr_info has heen removed, the functions need to be updated.

Bug: 234498088
Bug: 295917627
Bug: 416387237
(cherry picked from commit 45cb58e1)
Change-Id: If1de7b63c431a79889e932ff3363314199175cce
(cherry picked from commit 458a8b878cdba4b84463f9fa35ecccfa7e2a24a4)
Signed-off-by: default avatarEdward Wu <edwardwu@realtek.com>
Signed-off-by: default avatarfrank.song <frank.song@realtek.com>
parent 21de8f00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment