From: Davidlohr Bueso Date: Wed, 11 Sep 2013 21:26:16 +0000 (-0700) Subject: ipc,shm: shorten critical region in shmctl_down X-Git-Tag: v3.12-rc1~52^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79ccf0f8c8e04e8b9eda6645ba0f63b0915a3075;p=pandora-kernel.git 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 Tested-by: Sedat Dilek Cc: Rik van Riel Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed