[PATCH 2/2] dmabuf: Add dmabuf inode no to fdinfo

2021-01-28 Thread Kalesh Singh
The dmabuf inode number allows userspace to uniquely identify the buffer and avoids a dependency on /proc//fd/* when accounting per-process DMA buffer sizes. Signed-off-by: Kalesh Singh --- drivers/dma-buf/dma-buf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma-buf/dma-buf.c b/

Re: [PATCH 2/2] dmabuf: Add dmabuf inode no to fdinfo

2021-01-28 Thread Randy Dunlap
On 1/28/21 10:24 AM, Kalesh Singh wrote: > The dmabuf inode number allows userspace to uniquely identify the buffer > and avoids a dependency on /proc//fd/* when accounting per-process > DMA buffer sizes. > > Signed-off-by: Kalesh Singh > --- > drivers/dma-buf/dma-buf.c | 1 + > 1 file changed,

Re: [PATCH 2/2] dmabuf: Add dmabuf inode no to fdinfo

2021-01-28 Thread Randy Dunlap
On 1/28/21 10:24 AM, Kalesh Singh wrote: > The dmabuf inode number allows userspace to uniquely identify the buffer > and avoids a dependency on /proc//fd/* when accounting per-process > DMA buffer sizes. > > Signed-off-by: Kalesh Singh > --- > drivers/dma-buf/dma-buf.c | 1 + > 1 file changed,