]> 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)
commit957a8f8a995c39ba109b67853111737a5e72521b
tree4f391df8bf01d696425805dac591696ea9f4471a
parent92012c6257a9e2445619cba7e8666e0690189102
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