diff options
author | Davidlohr Bueso <[email protected]> | 2013-07-08 16:01:13 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-07-09 10:33:27 -0700 |
commit | 15724ecb7e9bab35fc694c666ad563adba820cc3 (patch) | |
tree | d9ae089252e84327367056a29c0cf6b16f844c2e /lib/mpi/mpi-bit.c | |
parent | 7b4cc5d8411bd4e9d61d8714f53859740cf830c2 (diff) |
ipc,msg: shorten critical region in msgctl_down
Instead of holding the ipc lock for the entire function, use the
ipcctl_pre_down_nolock and only acquire the lock for specific commands:
RMID and SET.
Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions