linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] selftests: futex: Improve timeout testing
@ 2021-04-27 13:53 André Almeida
  2021-04-27 13:53 ` [PATCH 1/2] selftests: futex: Correctly include headers dirs André Almeida
  2021-04-27 13:53 ` [PATCH 2/2] selftests: futex: Expand timeout test André Almeida
  0 siblings, 2 replies; 5+ messages in thread
From: André Almeida @ 2021-04-27 13:53 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Peter Zijlstra, Darren Hart, linux-kernel
  Cc: kernel, linux-kselftest, shuah, André Almeida

This small series expands futex timeout selftests by checking if all
operations that allows timeouts works as expected. When some version of
Thomas' series "futex: Bugfixes and FUTEX_LOCK_PI2"[0] get merged, I'll
add the new rules to the timeout test. This test should be used to check
for regressions when modifying the timeout path or changing the
interface.

Additionally, fix a bug in the Makefile that can be found when compiling
selftests with new operations, like the one defined at [0] or from the
futex2 patchset.

[0] https://lore.kernel.org/lkml/20210422194417.866740847@linutronix.de/

André Almeida (2):
  selftests: futex: Correctly include headers dirs
  selftests: futex: Expand timeout test

 .../selftests/futex/functional/Makefile       |   3 +-
 .../futex/functional/futex_wait_timeout.c     | 126 +++++++++++++++---
 2 files changed, 112 insertions(+), 17 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-12 20:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 13:53 [PATCH 0/2] selftests: futex: Improve timeout testing André Almeida
2021-04-27 13:53 ` [PATCH 1/2] selftests: futex: Correctly include headers dirs André Almeida
2021-05-12 18:50   ` [tip: locking/core] " tip-bot2 for André Almeida
2021-04-27 13:53 ` [PATCH 2/2] selftests: futex: Expand timeout test André Almeida
2021-05-12 18:50   ` [tip: locking/core] " tip-bot2 for André Almeida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).