lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 19 Nov 2012 00:24:29 +0900
From:	Hitoshi Mitake <h.mitake@...il.com>
To:	mingo@...nel.org
Cc:	linux-kernel@...r.kernel.org, Hitoshi Mitake <h.mitake@...il.com>
Subject: [PATCH 0/3] perf, tools/testing: merge futextest into perf bench and tools/testing

Hi perf and futex folks, very sorry for my slow posting...

This patchset merge futextest[1] of Darren Hart into perf bench and
tools/testing/selftests with some refactorings.

The benchmarking part of futextest is now "perf bench futex" in the
2nd patch. And the part of functionality test is ported to
tools/testing/selftests in the 3rd patch. The 1st one is for
preparation. It adds useful header files which implements atomic
operations and futex syscall wrappers to tools/include/tools directory
for both of perf bench and tools/testing.

[1]: http://git.kernel.org/?p=linux/kernel/git/dvhart/futextest.git

Hitoshi Mitake (3):
  tools: add new headers for futex and atomic operations
  perf bench: port futex_wait.c of futextest to perf bench
  tools/testing: port functionality tests of futextest to
    tools/testing/selftests

 tools/include/tools/atomic.h                       |   95 +++++
 tools/include/tools/futex.h                        |  278 +++++++++++++++
 tools/perf/Makefile                                |    1 +
 tools/perf/bench/bench.h                           |    1 +
 tools/perf/bench/futex-wait.c                      |  295 +++++++++++++++
 tools/perf/builtin-bench.c                         |   13 +
 tools/testing/selftests/Makefile                   |    2 +-
 tools/testing/selftests/futex/.gitignore           |    9 +
 tools/testing/selftests/futex/Makefile             |   32 ++
 tools/testing/selftests/futex/futex_requeue_pi.c   |  376 ++++++++++++++++++++
 .../futex/futex_requeue_pi_mismatched_ops.c        |  151 ++++++++
 .../futex/futex_requeue_pi_signal_restart.c        |  202 +++++++++++
 .../testing/selftests/futex/futex_testing_common.c |   45 +++
 .../testing/selftests/futex/futex_testing_common.h |    9 +
 .../futex/futex_wait_private_mapped_file.c         |  137 +++++++
 tools/testing/selftests/futex/futex_wait_timeout.c |  101 ++++++
 .../futex/futex_wait_uninitialized_heap.c          |  139 +++++++
 .../selftests/futex/futex_wait_wouldblock.c        |   94 +++++
 tools/testing/selftests/futex/logging.c            |   93 +++++
 tools/testing/selftests/futex/logging.h            |   88 +++++
 tools/testing/selftests/futex/run.sh               |   92 +++++
 21 files changed, 2252 insertions(+), 1 deletions(-)
 create mode 100644 tools/include/tools/atomic.h
 create mode 100644 tools/include/tools/futex.h
 create mode 100644 tools/perf/bench/futex-wait.c
 create mode 100644 tools/testing/selftests/futex/.gitignore
 create mode 100644 tools/testing/selftests/futex/Makefile
 create mode 100644 tools/testing/selftests/futex/futex_requeue_pi.c
 create mode 100644 tools/testing/selftests/futex/futex_requeue_pi_mismatched_ops.c
 create mode 100644 tools/testing/selftests/futex/futex_requeue_pi_signal_restart.c
 create mode 100644 tools/testing/selftests/futex/futex_testing_common.c
 create mode 100644 tools/testing/selftests/futex/futex_testing_common.h
 create mode 100644 tools/testing/selftests/futex/futex_wait_private_mapped_file.c
 create mode 100644 tools/testing/selftests/futex/futex_wait_timeout.c
 create mode 100644 tools/testing/selftests/futex/futex_wait_uninitialized_heap.c
 create mode 100644 tools/testing/selftests/futex/futex_wait_wouldblock.c
 create mode 100644 tools/testing/selftests/futex/logging.c
 create mode 100644 tools/testing/selftests/futex/logging.h
 create mode 100755 tools/testing/selftests/futex/run.sh

-- 
1.7.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ