Re: [PATCH v2] ipc: convert to idr_alloc()

2013-02-07 Thread Sedat Dilek
On Thu, Feb 7, 2013 at 5:14 PM, Tejun Heo wrote: > Convert to the much saner new idr interface. > > The new interface doesn't directly translate to the way idr_pre_get() > was used around ipc_addid() as preloading disables preemption. From > my cursory reading, it seems like we should be able to

[PATCH v2] ipc: convert to idr_alloc()

2013-02-07 Thread Tejun Heo
Convert to the much saner new idr interface. The new interface doesn't directly translate to the way idr_pre_get() was used around ipc_addid() as preloading disables preemption. From my cursory reading, it seems like we should be able to do all allocation from ipc_addid(), so I moved it there. C