mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
Commitbdb8d06dfe("dmabuf: Add the capability to expose DMA-BUF stats in sysfs") added dmabuf statistics to sysfs in 2021 under CONFIG_DMABUF_SYSFS_STATS. After being used in production, performance problems were discovered leading to its deprecation in 2022 in commite0a9f1fe20("dma-buf: deprecate DMABUF_SYSFS_STATS"). Some of the problems with this interface were discussed in my LPC 2025 talk. [1][2] Android was probably the last user of the interface, which has since been migrated to use the dmabuf BPF iterator [3] to obtain the same information more cheaply. As promised in that series, now that the longterm stable 6.18 kernel has been released let's remove the sysfs dmabuf statistics from the kernel. [1] https://www.youtube.com/watch?v=D83qygudq9c [2] https://lpc.events/event/19/contributions/2118/ [3] https://lore.kernel.org/all/20250522230429.941193-1-tjmercier@google.com/ Signed-off-by: T.J. Mercier <tjmercier@google.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Link: https://patch.msgid.link/20260116190517.3268458-1-tjmercier@google.com
17 lines
537 B
Makefile
17 lines
537 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-y := dma-buf.o dma-fence.o dma-fence-array.o dma-fence-chain.o \
|
|
dma-fence-unwrap.o dma-resv.o dma-buf-mapping.o
|
|
obj-$(CONFIG_DMABUF_HEAPS) += dma-heap.o
|
|
obj-$(CONFIG_DMABUF_HEAPS) += heaps/
|
|
obj-$(CONFIG_SYNC_FILE) += sync_file.o
|
|
obj-$(CONFIG_SW_SYNC) += sw_sync.o sync_debug.o
|
|
obj-$(CONFIG_UDMABUF) += udmabuf.o
|
|
|
|
dmabuf_selftests-y := \
|
|
selftest.o \
|
|
st-dma-fence.o \
|
|
st-dma-fence-chain.o \
|
|
st-dma-fence-unwrap.o \
|
|
st-dma-resv.o
|
|
|
|
obj-$(CONFIG_DMABUF_SELFTESTS) += dmabuf_selftests.o
|