[PATCH bpf-next v7 0/5] Replace CONFIG_DMABUF_SYSFS_STATS with BPF

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Tue May 27 17:00:36 UTC 2025


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast at kernel.org>:

On Thu, 22 May 2025 23:04:24 +0000 you wrote:
> Until CONFIG_DMABUF_SYSFS_STATS was added [1] it was only possible to
> perform per-buffer accounting with debugfs which is not suitable for
> production environments. Eventually we discovered the overhead with
> per-buffer sysfs file creation/removal was significantly impacting
> allocation and free times, and exacerbated kernfs lock contention. [2]
> dma_buf_stats_setup() is responsible for 39% of single-page buffer
> creation duration, or 74% of single-page dma_buf_export() duration when
> stressing dmabuf allocations and frees.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v7,1/5] dma-buf: Rename debugfs symbols
    https://git.kernel.org/bpf/bpf-next/c/89f9dba365e1
  - [bpf-next,v7,2/5] bpf: Add dmabuf iterator
    https://git.kernel.org/bpf/bpf-next/c/76ea95534995
  - [bpf-next,v7,3/5] bpf: Add open coded dmabuf iterator
    https://git.kernel.org/bpf/bpf-next/c/6eab7ac7c5ee
  - [bpf-next,v7,4/5] selftests/bpf: Add test for dmabuf_iter
    https://git.kernel.org/bpf/bpf-next/c/ae5d2c59ecd7
  - [bpf-next,v7,5/5] selftests/bpf: Add test for open coded dmabuf_iter
    https://git.kernel.org/bpf/bpf-next/c/7594dcb71ff8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html




More information about the dri-devel mailing list