ipc,sem: have only one list in struct sem_queue
authorRik van Riel <[email protected]>
Wed, 1 May 2013 02:15:39 +0000 (19:15 -0700)
committerLinus Torvalds <[email protected]>
Wed, 1 May 2013 15:12:58 +0000 (08:12 -0700)
commit9f1bc2c9022c1d4944c4a1a44c2f365487420aca
treea1764801b992d87e1c488035135f10ed80413944
parentc460b662d5cae467f1c341c59b02a5c5e68fed0b
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 <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Cc: Chegu Vinod <[email protected]>
Cc: Emmanuel Benisty <[email protected]>
Cc: Jason Low <[email protected]>
Cc: Michel Lespinasse <[email protected]>
Cc: Peter Hurley <[email protected]>
Cc: Stanislav Kinsbursky <[email protected]>
Tested-by: Sedat Dilek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
ipc/sem.c