aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorManfred Spraul <[email protected]>2013-07-08 16:01:23 -0700
committerLinus Torvalds <[email protected]>2013-07-09 10:33:28 -0700
commit1a82e9e1d0f1b45f47a97c9e2349020536ff8987 (patch)
tree956810c32e02f6ae1527db015c6ae622800bd720 /lib/mpi/mpi-bit.c
parentf5c936c0f267ec58641451cf8b8d39b4c207ee4d (diff)
ipc/sem: separate wait-for-zero and alter tasks into seperate queues
Introduce separate queues for operations that do not modify the semaphore values. Advantages: - Simpler logic in check_restart(). - Faster update_queue(): Right now, all wait-for-zero operations are always tested, even if the semaphore value is not 0. - wait-for-zero gets again priority, as in linux <=3.0.9 Signed-off-by: Manfred Spraul <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Davidlohr Bueso <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions