Re: [EARLY RFC][PATCH 3/4] ion: Add HEAP_INFO ioctl to be able to fetch heap type

2019-02-20 Thread John Stultz
On Wed, Feb 20, 2019 at 7:07 AM Brian Starkey wrote: > > On Tue, Feb 19, 2019 at 01:47:36PM -0800, John Stultz wrote: > > On Tue, Feb 19, 2019 at 1:13 PM Laura Abbott wrote: > > > > > > On 2/15/19 12:24 PM, John Stultz wrote: > > > > The per-device heaps don't support HEAP_QUERY ioctl, since > >

Re: [EARLY RFC][PATCH 3/4] ion: Add HEAP_INFO ioctl to be able to fetch heap type

2019-02-20 Thread Brian Starkey
On Tue, Feb 19, 2019 at 01:47:36PM -0800, John Stultz wrote: > On Tue, Feb 19, 2019 at 1:13 PM Laura Abbott wrote: > > > > On 2/15/19 12:24 PM, John Stultz wrote: > > > The per-device heaps don't support HEAP_QUERY ioctl, since > > > the name is provided in the devnode path and the heapid isn't >

Re: [EARLY RFC][PATCH 3/4] ion: Add HEAP_INFO ioctl to be able to fetch heap type

2019-02-19 Thread John Stultz
On Tue, Feb 19, 2019 at 1:46 PM Laura Abbott wrote: > > On 2/19/19 1:39 PM, Andrew F. Davis wrote: > > On 2/19/19 3:13 PM, Laura Abbott wrote: > >> On 2/15/19 12:24 PM, John Stultz wrote: > >>> The per-device heaps don't support HEAP_QUERY ioctl, since > >>> the name is provided in the devnode

Re: [EARLY RFC][PATCH 3/4] ion: Add HEAP_INFO ioctl to be able to fetch heap type

2019-02-19 Thread John Stultz
On Tue, Feb 19, 2019 at 1:13 PM Laura Abbott wrote: > > On 2/15/19 12:24 PM, John Stultz wrote: > > The per-device heaps don't support HEAP_QUERY ioctl, since > > the name is provided in the devnode path and the heapid isn't > > useful with the new interface (one uses the fd of heapdevice). > > >

Re: [EARLY RFC][PATCH 3/4] ion: Add HEAP_INFO ioctl to be able to fetch heap type

2019-02-19 Thread Laura Abbott
On 2/19/19 1:39 PM, Andrew F. Davis wrote: On 2/19/19 3:13 PM, Laura Abbott wrote: On 2/15/19 12:24 PM, John Stultz wrote: The per-device heaps don't support HEAP_QUERY ioctl, since the name is provided in the devnode path and the heapid isn't useful with the new interface (one uses the fd of

Re: [EARLY RFC][PATCH 3/4] ion: Add HEAP_INFO ioctl to be able to fetch heap type

2019-02-19 Thread Andrew F. Davis
On 2/19/19 3:13 PM, Laura Abbott wrote: > On 2/15/19 12:24 PM, John Stultz wrote: >> The per-device heaps don't support HEAP_QUERY ioctl, since >> the name is provided in the devnode path and the heapid isn't >> useful with the new interface (one uses the fd of heapdevice). >> >> But, one missing

Re: [EARLY RFC][PATCH 3/4] ion: Add HEAP_INFO ioctl to be able to fetch heap type

2019-02-19 Thread Laura Abbott
On 2/15/19 12:24 PM, John Stultz wrote: The per-device heaps don't support HEAP_QUERY ioctl, since the name is provided in the devnode path and the heapid isn't useful with the new interface (one uses the fd of heapdevice). But, one missing bit of functionality is a way to find the heap type.