From: Wake Liu <wakel@google.com>
To: Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Shuah Khan <shuah@kernel.org>,
linux-kselftest@vger.kernel.org
Cc: "Peter Zijlstra" <peterz@infradead.org>,
"Darren Hart" <dvhart@infradead.org>,
"Davidlohr Bueso" <dave@stgolabs.net>,
"André Almeida" <andrealmeid@igalia.com>,
"Carlos Llamas" <cmllamas@google.com>,
linux-kernel@vger.kernel.org, wakel@google.com
Subject: [PATCH v2 0/2] selftests/futex: Migrate functional tests to harness and fix validations
Date: Tue, 26 May 2026 01:06:33 +0000 [thread overview]
Message-ID: <20260526010635.23980-1-wakel@google.com> (raw)
In-Reply-To: <20260525075748.3720995-1-wakel@google.com>
This is v2 of the series to migrate futex functional tests to the harness.
Changes in v2:
- Move is_futex_waitv_supported() helper to a shared header (include/futex2test.h)
to avoid duplication, as suggested by André Almeida.
- Call is_futex_waitv_supported() check at the start of TEST(waitv) in
futex_wait_timeout.c for consistency.
Original description:
This series refactors futex functional tests to use the kselftest_harness.h
framework, fixing inconsistencies on older kernels where some syscalls
are missing, and corrects the validation logic in waitv negative tests.
Wake Liu (2):
selftests/futex: Migrate functional tests to harness
selftests/futex: Correct validation logic in waitv
.../futex/functional/futex_wait_timeout.c | 104 ++++++--------
.../futex/functional/futex_wait_wouldblock.c | 33 ++---
.../selftests/futex/functional/futex_waitv.c | 135 ++++++++----------
.../selftests/futex/include/futex2test.h | 10 ++
4 files changed, 132 insertions(+), 150 deletions(-)
--
2.54.0.746.g67dd491aae-goog
next prev parent reply other threads:[~2026-05-26 1:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-25 7:57 [PATCH 0/2] selftests/futex: Migrate functional tests to harness and fix validations Wake Liu
2026-05-25 7:57 ` [PATCH 1/2] selftests/futex: Migrate functional tests to harness Wake Liu
2026-05-25 18:37 ` André Almeida
2026-05-25 7:57 ` [PATCH 2/2] selftests/futex: Correct validation logic in waitv Wake Liu
2026-05-26 1:06 ` Wake Liu [this message]
2026-05-26 1:06 ` [PATCH v2 1/2] selftests/futex: Migrate functional tests to harness Wake Liu
2026-05-26 1:06 ` [PATCH v2 2/2] selftests/futex: Correct validation logic in waitv Wake Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260526010635.23980-1-wakel@google.com \
--to=wakel@google.com \
--cc=andrealmeid@igalia.com \
--cc=cmllamas@google.com \
--cc=dave@stgolabs.net \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=shuah@kernel.org \
--cc=tglx@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.