]> git.baikalelectronics.ru Git - kernel.git/commit
perf bench futex: Support operations for shared futexes
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 29 Sep 2014 16:41:07 +0000 (09:41 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 29 Sep 2014 18:43:21 +0000 (15:43 -0300)
commitdd71605f02db20c5095f31779381d2d960024251
tree4f391df8bf01d696425805dac591696ea9f4471a
parentb1d3cf1d0eb444c5ef7160f145eb665494095ae6
perf bench futex: Support operations for shared futexes

Unlike futex-hash, requeuing and wakeup benchmarks do not support shared
futexes, limiting the usefulness of the programs. Correct this, and
allow using the local -S parameter. The default remains using private
futexes.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Davidlohr Bueso <dbueso@suse.de>
Link: http://lkml.kernel.org/r/1412008868-22328-1-git-send-email-dave@stgolabs.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/bench/futex-hash.c
tools/perf/bench/futex-requeue.c
tools/perf/bench/futex-wake.c