Commit 0a1ffa01 authored by yangshiguang's avatar yangshiguang Committed by Suren Baghdasaryan
Browse files

ANDROID: mm/cma: add vendor_hook in cma_alloc to record information



Add a vendor_hook in the cma alloc for the allocation fails that
can used to record cma info when returning.
This can be used to find who caused the cma leak early,
and record cma usage when allocation fails.

Bug: 389864493
Change-Id: I6a5266e6e06828497133caaa2d4bc90cc4ee7258
Signed-off-by: default avataryangshiguang <yangshiguang@xiaomi.com>
parent 4ad76079
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment