Linux-Fsdevel Archive on
 help / color / Atom feed
From: Peter Enderborg <>
	"Sumit Semwal" <>,
	"Christian König" <>,
	"Alexey Dobriyan" <>,
	"Andrew Morton" <>,
	"Muchun Song" <>,
	"Roman Gushchin" <>,
	"Shakeel Butt" <>,
	"Michal Hocko" <>, NeilBrown <>,
	"Sami Tolvanen" <>,
	"Mike Rapoport" <>,,,,
	"Matthew Wilcox" <>,
	"Jonathan Corbet" <>,
	"Randy Dunlap" <>,
	"Kees Cook" <>,
	"Mauro Carvalho Chehab" <>,
	"Alexey Gladkov" <>,
	"Feng Tang" <>,
Subject: [PATCH 0/2 V6]Add dma-buf counter
Date: Tue, 20 Apr 2021 10:22:18 +0200
Message-ID: <> (raw)

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.

	initial version. Add dma-buf counter

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

	Change variable and function names.

	Fix function name in code doc
	Reported-by: kernel test robot <>

	Removed EXPORT_SYMBOL_GPL suggested by Muchun Song

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


             reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-20  8:22 Peter Enderborg [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Fsdevel Archive on

Archives are clonable:
	git clone --mirror 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/ \
	public-inbox-index linux-fsdevel

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone