Skip to content
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

Sched:Automatically find deadlocks when assert #9583

Merged
merged 2 commits into from Jun 22, 2023

Conversation

anjiahao1
Copy link
Contributor

Summary

Analyze whether there is a deadlock in the system by finding the ring method

Impact

assert

Testing

nsh:sim with deadlock test

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
When asserting, automatically analyze whether
there is a deadlock in the thread, and if there
is a deadlock, print out the deadlocked thread.

The principle is to analyze whether there is
a lock ring through the tcb holder.

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
@anjiahao1
Copy link
Contributor Author

CI seems to have other breaks

@xiaoxiang781216
Copy link
Contributor

xiaoxiang781216 commented Jun 22, 2023

CI seems to have other breaks

The error is strange, I can't found obvious error from ci log. Let's ignore the fail alarm.

@xiaoxiang781216 xiaoxiang781216 merged commit 4ae17a6 into apache:master Jun 22, 2023
23 of 26 checks passed
@jerpelea jerpelea added this to To-Add in Release Notes - 12.2.0 Jun 26, 2023
@jerpelea jerpelea moved this from To-Add to In Progress in Release Notes - 12.2.0 Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants