]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: futex: Add tests for robust release operations
authorAndré Almeida <andrealmeid@igalia.com>
Tue, 2 Jun 2026 09:10:21 +0000 (11:10 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 3 Jun 2026 09:38:53 +0000 (11:38 +0200)
commit608323bf7bb85bbb647eca4373acef247f105e67
treec694be29372af9bbe1dfc4b27a32a9af27c45689
parent3f63e2545978abda58f2cf7ff0d7a2942965e8cb
selftests: futex: Add tests for robust release operations

Add tests for __vdso_futex_robust_listXX_try_unlock() and for the futex()
op FUTEX_ROBUST_UNLOCK.

Test the contended and uncontended cases for the vDSO functions and all
ops combinations for FUTEX_ROBUST_UNLOCK.

[ tglx: Replace the VDSO function lookup ]

Signed-off-by: André Almeida <andrealmeid@igalia.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260329-tonyk-vdso_test-v2-2-b7db810e44a1@igalia.com
Link: https://patch.msgid.link/20260602090535.988101541@kernel.org
tools/testing/selftests/futex/functional/robust_list.c
tools/testing/selftests/futex/include/futextest.h