Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH 0/2] selftests/membarrier: Skip an unregistered memory barrier test on Musl
@ 2026-08-03 12:48 Chris Gellermann
  2026-08-03 12:48 ` [PATCH 1/2] selftests/membarrier: Introduce helper to get membarrier command registrations Chris Gellermann
  2026-08-03 12:49 ` [PATCH 2/2] selftests/membarrier: Skip unpermitted membarrier command test if preregistered by libc Chris Gellermann
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Gellermann @ 2026-08-03 12:48 UTC (permalink / raw)
  To: shuah, linux-kselftest
  Cc: richard.weiyang, akpm, reddybalavignesh9979, linux-kernel,
	Chris Gellermann

The membarrier test "membarrier MEMBARRIER_CMD_PRIVATE_EXPEDITED not
registered failure" fails in the multithreaded test scenario when using
Musl libc as the command gets preregistered implicitly during thread
creation. Skip the test if command registration is detected.

Chris Gellermann (2):
  selftests/membarrier: Introduce helper to get membarrier command
    registrations
  selftests/membarrier: Skip unpermitted membarrier command test if
    preregistered by libc

 .../selftests/membarrier/membarrier_test_impl.h | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

--
2.47.3

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

end of thread, other threads:[~2026-08-03 20:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-03 12:48 [PATCH 0/2] selftests/membarrier: Skip an unregistered memory barrier test on Musl Chris Gellermann
2026-08-03 12:48 ` [PATCH 1/2] selftests/membarrier: Introduce helper to get membarrier command registrations Chris Gellermann
2026-08-03 12:49 ` [PATCH 2/2] selftests/membarrier: Skip unpermitted membarrier command test if preregistered by libc Chris Gellermann
2026-08-03 20:37   ` Andrew Morton

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