Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 883e44f7 authored by Prakash Gupta's avatar Prakash Gupta Committed by Swathi Sridhar
Browse files

mm: cma: Register with show_mem notification framework



Register with the show_mem notification framework
to let cma dump out data for debugging.

This is an example output with this patch.

 cma: cma-0 pages: => 0 used of 2048 total pages
 cma: cma-1 pages: => 0 used of 23552 total pages
 cma: cma-2 pages: => 1696 used of 3072 total pages
 cma: cma-3 pages: => 8277 used of 9216 total pages
 cma: cma-4 pages: => 186 used of 5120 total pages
 cma: cma-5 pages: => 3792 used of 8192 total pages.

Change-Id: I80d9291444fd9361f5586bdf60373ed8b5b41705
Signed-off-by: default avatarPrakash Gupta <guptap@codeaurora.org>
[<swatsrid@codeaurora.org: Fix trivial errors in commit text]
Signed-off-by: default avatarSwathi Sridhar <swatsrid@codeaurora.org>
parent 9ecc13db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment