-
Notifications
You must be signed in to change notification settings - Fork 145
selftests/bpf: Add ABBCCA case for rqspinlock stress test #10074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: bpf-next_base
Are you sure you want to change the base?
Conversation
|
Upstream branch: e758657 |
b92bbe4 to
ed703de
Compare
|
Upstream branch: e758657 |
955fafc to
fdc6229
Compare
|
Upstream branch: e758657 |
fdc6229 to
16d8ca4
Compare
ed703de to
d4664e4
Compare
|
Upstream branch: e758657 |
16d8ca4 to
d7d70f7
Compare
d4664e4 to
7c1a423
Compare
|
Upstream branch: e758657 |
d7d70f7 to
daef7c9
Compare
7c1a423 to
ecdeefe
Compare
|
Upstream branch: e758657 |
daef7c9 to
53ee69b
Compare
Introduce a new mode for the rqspinlock stress test that exercises a deadlock that won't be detected by the AA and ABBA checks, such that we always reliably trigger the timeout fallback. We need 4 CPUs for this particular case, as CPU 0 is untouched, and three participant CPUs for triggering the ABBCCA case. Refactor the lock acquisition paths in the module to better reflect the three modes and choose the right lock depending on the context. Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Acked-by: Eduard Zingerman <[email protected]> Reviewed-by: Amery Hung <[email protected]>
|
Upstream branch: e758657 |
53ee69b to
409e3b8
Compare
Pull request for series with
subject: selftests/bpf: Add ABBCCA case for rqspinlock stress test
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1014651