The Linux Kernel Mailing List
 help / color / mirror / Atom feed
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>,
	"Edward Liaw" <edliaw@google.com>,
	linux-kernel@vger.kernel.org, wakel@google.com
Subject: [PATCH 0/2] selftests/futex: Migrate functional tests to harness and fix validations
Date: Mon, 25 May 2026 07:57:46 +0000	[thread overview]
Message-ID: <20260525075748.3720995-1-wakel@google.com> (raw)

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.

Patch 1 migrates wait_timeout, waitv, and wait_wouldblock to the harness.
Patch 2 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     | 101 ++++++-------
 .../futex/functional/futex_wait_wouldblock.c  |  40 ++---
 .../selftests/futex/functional/futex_waitv.c  | 142 +++++++++---------
 3 files changed, 133 insertions(+), 150 deletions(-)

-- 
2.54.0.746.g67dd491aae-goog


             reply	other threads:[~2026-05-25  7:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-25  7:57 Wake Liu [this message]
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 ` [PATCH v2 0/2] selftests/futex: Migrate functional tests to harness and fix validations Wake Liu
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=20260525075748.3720995-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=edliaw@google.com \
    --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