aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorManfred Spraul <[email protected]>2014-06-06 14:37:47 -0700
committerLinus Torvalds <[email protected]>2014-06-06 16:08:15 -0700
commit1994862dc9c16f360a9169a4d27200d15ba29713 (patch)
tree32bce71a3486a217a3b87b86ac55f9b69e75eff6 /tools/perf/scripts/python
parent4bb6657dd3a55ab507502d82dbee9db276602669 (diff)
ipc/sem.c: bugfix for semctl(,,GETZCNT)
GETZCNT is supposed to return the number of threads that wait until a semaphore value becomes 0. The current implementation overlooks complex operations that contain both wait-for-zero operation and operations that alter at least one semaphore. The patch fixes that. It's intentionally copy&paste, this will be cleaned up in the next patch. Signed-off-by: Manfred Spraul <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Michael Kerrisk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions