public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] futex: Docs and tests for robust futex unlock race
@ 2026-03-26 14:31 André Almeida
  2026-03-26 14:31 ` [PATCH 1/2] Documentation: futex: Add a note about robust list race condition André Almeida
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: André Almeida @ 2026-03-26 14:31 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Peter Zijlstra, Darren Hart,
	Davidlohr Bueso, Mathieu Desnoyers, Sebastian Andrzej Siewior,
	Carlos O'Donell, Florian Weimer, Darren Hart, Arnd Bergmann,
	Thomas Weißschuh
  Cc: linux-kernel, kernel-dev, André Almeida

Hi Thomas,

I have created two patches to be added to our series, please have a look. The
first one is a note for the robust list docs about the need to use a
vDSO/syscall to avoid the race condition (this should be added to the man page
in the future). The second one adds the new syscalls to the robust list
selftests, testing all available combinations.

Ideally I would like to inject some error to the vDSO test, so we can really
test the mechanism of it being interrupted and the kernel cleaning the
list_op_pending, using ASM injection or ptrace(), but I have left for a next
patch for now.

---
André Almeida (2):
      Documentation: futex: Add a note about robust list race condition
      selftests: futex: Add tests for robust release operations

 Documentation/locking/robust-futex-ABI.rst         |  44 +++++
 .../selftests/futex/functional/robust_list.c       | 203 +++++++++++++++++++++
 tools/testing/selftests/futex/include/futextest.h  |   3 +
 3 files changed, 250 insertions(+)
---
base-commit: 263b70d20d1145dcb857409d7a21c2473365a4ba
change-id: 20260326-tonyk-vdso_test-10281e3a8088

Best regards,
--  
André Almeida <andrealmeid@igalia.com>


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

end of thread, other threads:[~2026-03-27 16:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26 14:31 [PATCH 0/2] futex: Docs and tests for robust futex unlock race André Almeida
2026-03-26 14:31 ` [PATCH 1/2] Documentation: futex: Add a note about robust list race condition André Almeida
2026-03-26 14:31 ` [PATCH 2/2] selftests: futex: Add tests for robust release operations André Almeida
2026-03-27 16:04   ` Thomas Gleixner
2026-03-26 16:38 ` [PATCH 0/2] futex: Docs and tests for robust futex unlock race Thomas Gleixner
2026-03-27  7:18   ` Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox