]> git.baikalelectronics.ru Git - kernel.git/commit
ipc/sem.c: store which operation blocks in perform_atomic_semop()
authorManfred Spraul <manfred@colorfullife.com>
Fri, 6 Jun 2014 21:37:49 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:15 +0000 (16:08 -0700)
commit1370cd995e142738e7172c3f1c10b4162fb8b311
tree1ad0072dbfabf441a1aa84b328229b8f09ea6cae
parent1c0c063751b1a6ae7ecf0f563efdbd3a3a5b8823
ipc/sem.c: store which operation blocks in perform_atomic_semop()

Preparation for the next patch:

In the slow-path of perform_atomic_semop(), store a pointer to the
operation that caused the operation to block.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Cc: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/sem.c