diff options
author | Nadia Derbey <Nadia.Derbey@bull.net> | 2008-07-25 01:48:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:42 -0700 |
commit | 983bfb7db303cfde56ae5bbf4e0f2f46e38c9576 (patch) | |
tree | d107ca3c03e2c84e3d58c6f9e53879d3486e9c5f /ipc/shm.c | |
parent | cf481c20c476ad2c0febdace9ce23f5a4db19582 (diff) | |
download | linux-3.10-983bfb7db303cfde56ae5bbf4e0f2f46e38c9576.tar.gz linux-3.10-983bfb7db303cfde56ae5bbf4e0f2f46e38c9576.tar.bz2 linux-3.10-983bfb7db303cfde56ae5bbf4e0f2f46e38c9576.zip |
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>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions