-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
risc-v: remove g_running_tasks[this_cpu()] = NULL #14984
base: master
Are you sure you want to change the base?
Conversation
[Experimental Bot, please feedback here] Yes, this PR appears to meet the basic NuttX requirements, although it could be significantly improved. Here's a breakdown: Strengths:
Weaknesses (and how to improve them):
Example of an improved summary: "risc-v: prevent invalid g_running_tasks entries during context switches Currently, Related Issue: [If applicable]" By addressing these weaknesses, the PR will be much clearer, easier to review, and more likely to be accepted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
riscv_syscall_dispatch.c must be fixed too?
done |
reason: We hope to keep g_running_tasks valid forever. Signed-off-by: hujun5 <[email protected]>
Summary
risc-v: remove g_running_tasks[this_cpu()] = NULL
reason:
We hope to keep g_running_tasks valid forever.
Impact
riscv
Testing
ci ostest
rv-virt:smp