diff options
author | Davidlohr Bueso <[email protected]> | 2013-09-11 14:26:20 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-09-11 15:59:39 -0700 |
commit | c97cb9ccab8c85428ec21eff690642ad2ce1fa8a (patch) | |
tree | c435476a079d3bff28ec8c67377227effba57ca9 /net/lapb/lapb_iface.c | |
parent | 68eccc1dc345539d589ae78ee43b835c1a06a134 (diff) |
ipc,shm: make shmctl_nolock lockless
While the INFO cmd doesn't take the ipc lock, the STAT commands do acquire
it unnecessarily. We can do the permissions and security checks only
holding the rcu lock.
[[email protected]: coding-style fixes]
Signed-off-by: Davidlohr Bueso <[email protected]>
Tested-by: Sedat Dilek <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions