]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: nvmap: track handle's mapped memory
authorManeet Singh <mmaneetsingh@nvidia.com>
Wed, 23 Jul 2014 00:28:04 +0000 (17:28 -0700)
committerWinnie Hsu <whsu@nvidia.com>
Sat, 30 Aug 2014 01:01:03 +0000 (18:01 -0700)
commit2eed826401188b5d241d3bb9302915b50c6ef91e
tree380481067b87a7903c8fbaedb2e0b3cd3fb884aa
parent558546d0b7be5129393aed147b8cb51003da04ac
video: tegra: nvmap: track handle's mapped memory

Added new file "maps" for nvmap heaps. In addition to data given by
existing "allocations" file, this also shows the client's virtual
mappings and total amount of handle physical memory that is actually
mapped to a client's virtual address space.

This change will help in tracking nvmap memory usage of processes.

Bug 1529015

Change-Id: I85b5c221c7a7475cbc3585b130fda6a282756662
Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com>
Reviewed-on: http://git-master/r/448503
(cherry picked from commit 1f632679174cea962406980c8201d63c163635ee)
Reviewed-on: http://git-master/r/448580
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
drivers/video/tegra/nvmap/nvmap_dev.c