mbox series

[0/2,V6] Add dma-buf counter

Message ID 20210420082220.7402-1-peter.enderborg@sony.com (mailing list archive)
Headers show
Series Add dma-buf counter | expand

Message

Peter Enderborg April 20, 2021, 8:22 a.m. UTC
The dma-buf counter is a metric for mapped memory used by it's clients.
It is a shared buffer that is typically used for interprocess communication
or process to hardware communication. In android we used to have ION,. but
it is now replaced with dma-buf. ION had some overview metrics that was similar.



V1
	initial version. Add dma-buf counter

V2
	Fix build depencendy error suggested by Matthew Wilcox
	Extent commit message sugged by Köning

V3
	Change variable and function names.

V4
	Fix function name in code doc
	Reported-by: kernel test robot <lkp@intel.com>

V5
	Removed EXPORT_SYMBOL_GPL suggested by Muchun Song

V6
	Made it a patch set, Adding a addional patch for
	printing dma-buf counter in show_mem.
	Suggested by Michal Hocko.

Comments

Michal Hocko April 20, 2021, 8:30 a.m. UTC | #1
On Tue 20-04-21 10:22:18, Peter Enderborg wrote:
> The dma-buf counter is a metric for mapped memory used by it's clients.
> It is a shared buffer that is typically used for interprocess communication
> or process to hardware communication. In android we used to have ION,. but
> it is now replaced with dma-buf. ION had some overview metrics that was similar.

The discussion around the previous version is still not over and as it
seems your proposed approach is not really viable. So please do not send
new versions until that is sorted out.

Thanks!