]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ipc,sem: have only one list in struct sem_queue
authorRik van Riel <riel@surriel.com>
Wed, 17 Apr 2013 23:49:10 +0000 (09:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 22 Apr 2013 08:08:28 +0000 (18:08 +1000)
commit2c9240f4acbf358376f1b4e4fec471f99b72d88a
tree7e46a66292b553602712dd0b06d9686a8078508d
parent906ee5485371843455569dddb667de8c1191d62e
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