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:
yangshiguang <yangshiguang@xiaomi.com>
Loading