-
- Downloads
dma-buf: Delete the DMA-BUF attachment sysfs statistics
The DMA-BUF attachment statistics form a subset of the DMA-BUF sysfs statistics that recently merged to the drm-misc tree. They are not UABI yet since they have not merged to the upstream Linux kernel. Since there has been a reported a performance regression due to the overhead of sysfs directory creation/teardown during dma_buf_attach()/dma_buf_detach(), this patch deletes the DMA-BUF attachment statistics from sysfs. Fixes: bdb8d06d ("dmabuf: Add the capability to expose DMA-BUF stats in sysfs") Signed-off-by:Hridya Valsaraju <hridya@google.com> Reviewed-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://patchwork.freedesktop.org/patch/msgid/20210713040742.2680135-1-hridya@google.com Signed-off-by:
Christian König <christian.koenig@amd.com>
Showing
- Documentation/ABI/testing/sysfs-kernel-dmabuf-buffers 0 additions, 28 deletionsDocumentation/ABI/testing/sysfs-kernel-dmabuf-buffers
- drivers/dma-buf/dma-buf-sysfs-stats.c 4 additions, 136 deletionsdrivers/dma-buf/dma-buf-sysfs-stats.c
- drivers/dma-buf/dma-buf-sysfs-stats.h 0 additions, 27 deletionsdrivers/dma-buf/dma-buf-sysfs-stats.h
- drivers/dma-buf/dma-buf.c 0 additions, 16 deletionsdrivers/dma-buf/dma-buf.c
- include/linux/dma-buf.h 0 additions, 17 deletionsinclude/linux/dma-buf.h
Loading
Please register or sign in to comment