BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v1 0/2] Misc rqspinlock updates
@ 2025-10-29 18:18 Kumar Kartikeya Dwivedi
  2025-10-29 18:18 ` [PATCH bpf-next v1 1/2] rqspinlock: Disable queue destruction for deadlocks Kumar Kartikeya Dwivedi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kumar Kartikeya Dwivedi @ 2025-10-29 18:18 UTC (permalink / raw)
  To: bpf
  Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann,
	Martin KaFai Lau, Eduard Zingerman, kkd, kernel-team

A couple of changes for rqspinlock, the first disables propagation of AA
and ABBA deadlocks to waiters succeeding the deadlocking waiter. A more
verbose rationale is available in the commit log. The second commit
expands the stress test to introduce a ABBCCA mode that will reliably
exercise the timeout fallback.

Kumar Kartikeya Dwivedi (2):
  rqspinlock: Disable queue destruction for deadlocks
  selftests/bpf: Add ABBCCA case for rqspinlock stress test

 kernel/bpf/rqspinlock.c                       |  8 ++
 .../selftests/bpf/prog_tests/res_spin_lock.c  |  8 +-
 .../bpf/test_kmods/bpf_test_rqspinlock.c      | 85 ++++++++++++++-----
 3 files changed, 74 insertions(+), 27 deletions(-)


base-commit: 54c134f379ee2816f60130d44e0e386c261dff45
-- 
2.51.0


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

end of thread, other threads:[~2025-10-30  1:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29 18:18 [PATCH bpf-next v1 0/2] Misc rqspinlock updates Kumar Kartikeya Dwivedi
2025-10-29 18:18 ` [PATCH bpf-next v1 1/2] rqspinlock: Disable queue destruction for deadlocks Kumar Kartikeya Dwivedi
2025-10-29 18:18 ` [PATCH bpf-next v1 2/2] selftests/bpf: Add ABBCCA case for rqspinlock stress test Kumar Kartikeya Dwivedi
2025-10-30  1:20 ` [PATCH bpf-next v1 0/2] Misc rqspinlock updates patchwork-bot+netdevbpf

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