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 0/7] selftests/futex: Migrate requeue, NUMA and robust list tests to harness
Date: Mon, 1 Jun 2026 06:51:19 +0000 [thread overview]
Message-ID: <20260601065126.3623867-1-wakel@google.com> (raw)
This series refactors the requeue, NUMA, and robust list futex functional
tests to exclusively use the kselftest_harness.h framework, completing
the remaining unsent functional test migrations in this directory.
This eliminates mixed usage of legacy ksft_* APIs and high-level harness
asserts, preventing crashes on older kernels, and ensures proper thread
joining.
For context, the previous wait-related migrations are in these states:
- Series 1 v2 (wait_timeout, wait_wouldblock, waitv): Sent, awaiting review.
Link: https://lore.kernel.org/linux-kselftest/20260526010635.23980-1-wakel@google.com/
- Series 2 v1 (wait, private_mapped, uninitialized_heap): Sent, discussion ongoing.
Link: https://lore.kernel.org/linux-kselftest/20260525092002.3762888-1-wakel@google.com/
Descriptions of individual patches:
Patch 1-4: Migrate requeue, requeue_pi, mismatched_ops, and signal_restart tests.
Patch 5: Migrates futex_numa_mpol.
Patch 6: Migrates futex_priv_hash.
Patch 7: Migrates robust_list (and fixes an out-of-bounds waitpid bug).
Wake Liu (7):
selftests/futex: Migrate futex_requeue to harness
selftests/futex: Migrate futex_requeue_pi to harness
selftests/futex: Migrate futex_requeue_pi_mismatched_ops to harness
selftests/futex: Migrate futex_requeue_pi_signal_restart to harness
selftests/futex: Migrate futex_numa_mpol to harness
selftests/futex: Migrate futex_priv_hash to harness
selftests/futex: Migrate robust_list to harness
.../futex/functional/futex_numa_mpol.c | 109 ++++++------
.../futex/functional/futex_priv_hash.c | 160 ++++++++---------
.../futex/functional/futex_requeue.c | 32 +++-
.../futex/functional/futex_requeue_pi.c | 130 +++++++-------
.../futex_requeue_pi_mismatched_ops.c | 39 ++--
.../futex_requeue_pi_signal_restart.c | 67 ++++---
.../selftests/futex/functional/robust_list.c | 166 +++++++++---------
7 files changed, 354 insertions(+), 349 deletions(-)
--
2.54.0.823.g6e5bcc1fc9-goog
next reply other threads:[~2026-06-01 6:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-01 6:51 Wake Liu [this message]
2026-06-01 6:51 ` [PATCH 1/7] selftests/futex: Migrate futex_requeue " Wake Liu
2026-07-05 19:54 ` [tip: locking/futex] " tip-bot2 for Wake Liu
2026-06-01 6:51 ` [PATCH 2/7] selftests/futex: Migrate futex_requeue_pi " Wake Liu
2026-07-05 19:54 ` [tip: locking/futex] " tip-bot2 for Wake Liu
2026-06-01 6:51 ` [PATCH 3/7] selftests/futex: Migrate futex_requeue_pi_mismatched_ops " Wake Liu
2026-07-05 19:54 ` [tip: locking/futex] " tip-bot2 for Wake Liu
2026-06-01 6:51 ` [PATCH 4/7] selftests/futex: Migrate futex_requeue_pi_signal_restart " Wake Liu
2026-07-05 19:54 ` [tip: locking/futex] " tip-bot2 for Wake Liu
2026-06-01 6:51 ` [PATCH 5/7] selftests/futex: Migrate futex_numa_mpol " Wake Liu
2026-07-05 19:54 ` [tip: locking/futex] " tip-bot2 for Wake Liu
2026-06-01 6:51 ` [PATCH 6/7] selftests/futex: Migrate futex_priv_hash " Wake Liu
2026-07-05 19:54 ` [tip: locking/futex] " tip-bot2 for Wake Liu
2026-06-01 6:51 ` [PATCH 7/7] selftests/futex: Migrate robust_list " Wake Liu
2026-07-05 19:54 ` [tip: locking/futex] " tip-bot2 for Wake Liu
2026-06-01 8:24 ` [PATCH 0/7] selftests/futex: Migrate requeue, NUMA and robust list tests " Peter Zijlstra
2026-06-03 6:17 ` 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=20260601065126.3623867-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome