Re: [PATCH 0/4] Replace CONFIG_DMABUF_SYSFS_STATS with BPF

2025-04-15 Thread Christian König
Am 15.04.25 um 00:52 schrieb T.J. Mercier: > 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 wa

[PATCH 0/4] Replace CONFIG_DMABUF_SYSFS_STATS with BPF

2025-04-14 Thread T.J. Mercier
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