ipc: call idr_find() without locking in ipc_lock()
authorNadia Derbey <Nadia.Derbey@bull.net>
Fri, 25 Jul 2008 08:48:03 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:42 +0000 (10:53 -0700)
commit983bfb7db303cfde56ae5bbf4e0f2f46e38c9576
treed107ca3c03e2c84e3d58c6f9e53879d3486e9c5f
parentcf481c20c476ad2c0febdace9ce23f5a4db19582
ipc: call idr_find() without locking in ipc_lock()

Call idr_find() locklessly from ipc_lock(), since the idr tree is now RCU
protected.

Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Acked-by: "Paul E. McKenney" <paulmck@us.ibm.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Jim Houston <jim.houston@comcast.net>
Cc: Pierre Peiffer <peifferp@gmail.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/util.c