[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2d08c27-ae9b-16ed-3500-a4a724d563ef@infradead.org>
Date: Thu, 4 Feb 2021 18:36:43 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Kalesh Singh <kaleshsingh@...gle.com>
Cc: jannh@...gle.com, jeffv@...gle.com, keescook@...omium.org,
surenb@...gle.com, minchan@...nel.org, hridya@...gle.com,
kernel-team@...roid.com, Alexey Dobriyan <adobriyan@...il.com>,
Jonathan Corbet <corbet@....net>,
Sumit Semwal <sumit.semwal@...aro.org>,
Christian König <christian.koenig@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Michal Hocko <mhocko@...e.com>,
Alexey Gladkov <gladkov.alexey@...il.com>,
Anand K Mistry <amistry@...gle.com>,
NeilBrown <neilb@...e.de>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Michel Lespinasse <walken@...gle.com>,
Bernd Edlinger <bernd.edlinger@...mail.de>,
Andrei Vagin <avagin@...il.com>,
Yafang Shao <laoar.shao@...il.com>,
Christian Brauner <christian.brauner@...ntu.com>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-doc@...r.kernel.org, linux-media@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linaro-mm-sig@...ts.linaro.org
Subject: Re: [PATCH v3 2/2] dmabuf: Add dmabuf inode number to /proc/*/fdinfo
On 2/4/21 6:23 PM, Kalesh Singh wrote:
> If a FD refers to a DMA buffer add the DMA buffer inode number to
> /proc/<pid>/fdinfo/<FD> and /proc/<pid>/task/<tid>/fdindo/<FD>.
>
> The dmabuf inode number allows userspace to uniquely identify the buffer
> and avoids a dependency on /proc/<pid>/fd/* when accounting per-process
> DMA buffer sizes.
>
> Signed-off-by: Kalesh Singh <kaleshsingh@...gle.com>
> ---
> Changes in v3:
> - Add documentation in proc.rst
Hi,
Thanks for the doc update.
> Changes in v2:
> - Update patch description
>
> Documentation/filesystems/proc.rst | 17 +++++++++++++++++
> drivers/dma-buf/dma-buf.c | 1 +
> 2 files changed, 18 insertions(+)
>
Acked-by: Randy Dunlap <rdunlap@...radead.org> # for Documentation/filesystems/proc.rst
--
~Randy
Powered by blists - more mailing lists