Re: [PATCH] posix-timers: RCU conversion

From: Eric Dumazet
Date: Mon Apr 04 2011 - 15:47:28 EST


Le lundi 04 avril 2011 Ã 11:08 -0700, john stultz a Ãcrit :
> On Sun, 2011-04-03 at 18:54 +0200, Eric Dumazet wrote:
> > Andrew, I submitted this patch some time ago and got no feedback from
> > Thomas, John, Richard or Paul.
>
> Sorry about that. Its been on my list.
>
> It looks ok to me, but I not very familiar with idr locking rules
> (though looking at the code the comments state that idr_find can be
> safely called the way you do here).

Not only comments, but ipc uses rcu locking as well ;)

Nadia Derbey did the work on idr and ipc in commits :

983bfb7db303cfde56ae5bbf4e0f2f46e38c9576
(ipc: call idr_find() without locking in ipc_lock())

f9c46d6ea5ce138a886c3a0f10a46130afab75f5
(idr: make idr_find rcu-safe)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/