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

Skip to content
Commit 2df1522f authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Take a refcount only for memtype ION in imported_mem_show



In imported_mem_show, we are only interested in entries of memory
type ION. Take a reference count only on ION entries and only if
they are not marked as pending free. This would avoid the overhead
of taking and putting a reference count on unneeded entries which
are generally much higher in number than ION entries.

Change-Id: I036d49b082f352e00333ed9212a098a4510abfe1
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent 202aa1fb
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