commit | 79ccf0f8c8e04e8b9eda6645ba0f63b0915a3075 | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <[email protected]> | Wed Sep 11 14:26:16 2013 -0700 |
committer | Linus Torvalds <[email protected]> | Wed Sep 11 15:59:39 2013 -0700 |
tree | 7178c7dbb1edd12689359f49da36d4e04de93cf8 | |
parent | 8b8d52ac382b17a19906b930cd69e2edb0aca8ba [diff] |
ipc,shm: shorten critical region in shmctl_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]> 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]>