Linux-Fsdevel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/2 V6]Add dma-buf counter
@ 2021-04-20  8:22 Peter Enderborg
  2021-04-20  8:22 ` [PATCH 1/2 V6] dma-buf: Add DmaBufTotal counter in meminfo Peter Enderborg
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Enderborg @ 2021-04-20  8:22 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel, Sumit Semwal, Christian König,
	Alexey Dobriyan, Andrew Morton, Muchun Song, Roman Gushchin,
	Shakeel Butt, Michal Hocko, NeilBrown, Sami Tolvanen,
	Mike Rapoport, linux-media, dri-devel, linaro-mm-sig,
	Matthew Wilcox, Jonathan Corbet, Randy Dunlap, Kees Cook,
	Mauro Carvalho Chehab, Alexey Gladkov, Feng Tang, linux-doc

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.




	


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20  8:22 [PATCH 0/2 V6]Add dma-buf counter Peter Enderborg
2021-04-20  8:22 ` [PATCH 1/2 V6] dma-buf: Add DmaBufTotal counter in meminfo Peter Enderborg
2021-04-20  8:22 ` [PATCH 2/2 V6] lib/show_mem.c: Add dma-buf counter to show_mem dump Peter Enderborg
2021-04-20  8:30 ` [PATCH 0/2 V6]Add dma-buf counter Michal Hocko

Linux-Fsdevel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-fsdevel/0 linux-fsdevel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-fsdevel linux-fsdevel/ https://lore.kernel.org/linux-fsdevel \
		linux-fsdevel@vger.kernel.org
	public-inbox-index linux-fsdevel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-fsdevel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git