]> 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>
Tue, 26 Mar 2013 23:26:02 +0000 (10:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Apr 2013 07:29:54 +0000 (18:29 +1100)
commit064616442457f83c6a6cea0746a54da668ac7c77
treec351e54e4f2d00c5b64a1432639ff0812d855b54
parent28a1db03442fa3d076dc3271ce4adb7f38bc85a9
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