Re: [PATCH 2/2] remoteproc: fix memory leak of remoteproc ida cache layers

2015-11-26 Thread Ohad Ben-Cohen
On Thu, Nov 26, 2015 at 12:37 PM, Michael S. Tsirkin wrote: > On Thu, Nov 26, 2015 at 11:38:06AM +0200, Ohad Ben-Cohen wrote: >> I saw there was some discussion about this between Michael, James and >> Tejun whether this should be fixed in the IDA core or not. >> >> Has it been resolved? > > I don

Re: [PATCH 2/2] remoteproc: fix memory leak of remoteproc ida cache layers

2015-11-26 Thread Michael S. Tsirkin
On Thu, Nov 26, 2015 at 11:38:06AM +0200, Ohad Ben-Cohen wrote: > Hi Suman, > > On Thu, Sep 17, 2015 at 3:29 AM, Suman Anna wrote: > > The remoteproc core uses a static ida named rproc_dev_index for > > assigning an automatic index number to a registered remoteproc. > > The ida core may allocate

Re: [PATCH 2/2] remoteproc: fix memory leak of remoteproc ida cache layers

2015-11-26 Thread Ohad Ben-Cohen
Hi Suman, On Thu, Sep 17, 2015 at 3:29 AM, Suman Anna wrote: > The remoteproc core uses a static ida named rproc_dev_index for > assigning an automatic index number to a registered remoteproc. > The ida core may allocate some internal idr cache layers and ida > bitmap upon any ida allocation, and