]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc,sem: have only one list in struct sem_queue
authorRik van Riel <riel@surriel.com>
Tue, 26 Mar 2013 23:26:02 +0000 (10:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:26:27 +0000 (17:26 +1100)
commitbf328d51088b8eaeede8f24ff42a961e5f962857
treed0df52fff337015067e6f94497742ab57144c239
parent0228286683edf9a3717573d039a70cd7540645a7
ipc,sem: have only one list in struct sem_queue

Having only one list in struct sem_queue, and only queueing simple
semaphore operations on the list for the semaphore involved, allows us to
introduce finer grained locking for semtimedop.

Signed-off-by: Rik van Riel <riel@redhat.com>
Acked-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Chegu Vinod <chegu_vinod@hp.com>
Cc: Emmanuel Benisty <benisty.e@gmail.com>
Cc: Jason Low <jason.low2@hp.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Michel Lespinasse <walken@google.com>
Cc: Peter Hurley <peter@hurleysoftware.com>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/sem.c