Skip to content

Add dma-buf counter

Peter Enderborg dri-devel linux-doc linux-fsdevel linux-media lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 1 replyIn review
  2. v51 patch 18 repliesSuperseded
  3. v41 patch 28 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v31 patch2 repliesSuperseded
v21 patch5 repliesSuperseded
v11 patch2 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dma-buf: Add DmaBufTotal counter in meminfoDocumentation/filesystems/proc.rst drivers/dma-buf/dma-buf.c fs/proc/meminfo.c +1 more+22 -10 replies
2/2lib/show_mem.c: Add dma-buf counter to show_mem dump.lib/show_mem.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH 0/2 V6]Add dma-buf counter

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

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.