diff options
author | Davidlohr Bueso <[email protected]> | 2015-04-24 10:00:48 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-04-27 13:57:49 -0300 |
commit | 052b0f6eaf8b1f02669884a177bc3ce463133a42 (patch) | |
tree | 5384301c97a338573a97a7612105410d1c3e0dab /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d13855ef18e1852b2c4dc86ddf5759c5b34628cb (diff) |
perf bench futex: Fix hung wakeup tasks after requeueing
The futex-requeue benchmark can hang because of missing wakeups once the
benchmark is done, ie:
[Run 1]: Requeued 1024 of 1024 threads in 0.3290 ms
perf: couldn't wakeup all tasks (135/1024)
This bug, while perhaps suggesting missing wakeups in kernel futex code,
is merely a consequence of the crappy FUTEX_CMP_REQUEUE man page,
incorrectly mentioning that the number of requeued tasks is in fact
returned, not the wakeups.
This patch acknowledges this and updates the corresponding futex_wake
code around it.
Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: Mel Gorman <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions