lkml.org 
[lkml]   [2013]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHSET] idr: implement idr_alloc() and convert existing users
On Sat, Feb 02, 2013 at 05:20:01PM -0800, Tejun Heo wrote:
> * Bruce, I couldn't convert nfsd. Can you please help? More on it
> later.
...
> I converted all in-kernel users except nfsd and staging drivers. nfsd
> splits preloading and actual id allocation in a way that per-cpu
> preloading can't be used. I couldn't follow the control flow to
> verify whether the current code is correct either. I think the best
> way would be allocating ID upfront without installing the handle and
> then later using idr_replace() to install the pointer when the ID
> actually gets used. Bruce, would something like that be possible?

Actually, I'm not even sure if that's necessary, we can probably just
do it all at the start.

I'll try to have a patch doing that tomorrow.

--b.


\
 
 \ /
  Last update: 2013-02-03 18:41    [W:0.083 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site