[PATCH v3 2/2] dmabuf: Add dmabuf inode number to /proc/*/fdinfo

Matthew Wilcox willy at infradead.org
Sun Feb 7 02:40:30 UTC 2021


On Fri, Feb 05, 2021 at 02:23:20AM +0000, Kalesh Singh wrote:
> +DMA Buffer files
> +~~~~~~~~~~~~~~~~
> +
> +::
> +
> +	pos:	0
> +	flags:	04002
> +	mnt_id:	9
> +	dmabuf_inode_no: 63107

inode_nr would be better than inode_no.
But even better would be to match stat(2) and just call it 'ino'.

> +	size:   32768
> +	count:  2
> +	exp_name:  system-heap


More information about the dri-devel mailing list