Re: [PATCH] dma-buf: Delete the DMA-BUF attachment sysfs statistics
From: Greg Kroah-Hartman
Date: Sat Jul 10 2021 - 02:37:18 EST
On Fri, Jul 09, 2021 at 10:10:24PM -0700, Hridya Valsaraju wrote:
> The DMA-BUF attachment statistics form a subset of the DMA-BUF
> sysfs statistics that recently merged to the drm-misc tree.
> 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: bdb8d06dfefd (dmabuf: Add the capability to expose DMA-BUF stats
> in sysfs)
> Signed-off-by: Hridya Valsaraju <hridya@xxxxxxxxxx>
> ---
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>