Re: [RFC dma-buf 0/3] Improve the dma-buf tracking

2019-03-18 Thread Sumit Semwal
Hi Daniel, On Fri, 15 Mar 2019 at 16:36, Daniel Vetter wrote: > > On Thu, Mar 14, 2019 at 6:49 PM Sumit Semwal wrote: > > > > Hello Chenbo,Thank you for your RFC series. > > > > On Wed, 27 Feb 2019 at 09:24, Chenbo Feng wrote: > > > > > > Currently, all dma-bufs share the same anonymous inode.

Re: [RFC dma-buf 0/3] Improve the dma-buf tracking

2019-03-15 Thread Daniel Vetter
On Thu, Mar 14, 2019 at 6:49 PM Sumit Semwal wrote: > > Hello Chenbo,Thank you for your RFC series. > > On Wed, 27 Feb 2019 at 09:24, Chenbo Feng wrote: > > > > Currently, all dma-bufs share the same anonymous inode. While we can count > > how many dma-buf fds or mappings a process has, we can't

Re: [RFC dma-buf 0/3] Improve the dma-buf tracking

2019-03-15 Thread Chenbo Feng
On Thu, Mar 14, 2019 at 10:49 AM Sumit Semwal wrote: > > Hello Chenbo,Thank you for your RFC series. > > On Wed, 27 Feb 2019 at 09:24, Chenbo Feng wrote: > > > > Currently, all dma-bufs share the same anonymous inode. While we can count > > how many dma-buf fds or mappings a process has, we

Re: [RFC dma-buf 0/3] Improve the dma-buf tracking

2019-03-14 Thread Sumit Semwal
Hello Chenbo,Thank you for your RFC series. On Wed, 27 Feb 2019 at 09:24, Chenbo Feng wrote: > > Currently, all dma-bufs share the same anonymous inode. While we can count > how many dma-buf fds or mappings a process has, we can't get the size of > the backing buffers or tell if two entries

[RFC dma-buf 0/3] Improve the dma-buf tracking

2019-02-27 Thread Chenbo Feng
Currently, all dma-bufs share the same anonymous inode. While we can count how many dma-buf fds or mappings a process has, we can't get the size of the backing buffers or tell if two entries point to the same dma-buf. And in debugfs, we can get a per-buffer breakdown of size and reference count,