-
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
Revert "libc/atomic: decoupling atomic and spinlock to avoid recursion" #14218
Conversation
[Experimental Bot, please feedback here] This PR does not meet the NuttX requirements, despite claiming "N/A" for impact. Here's why:
In short, this PR needs significant work to meet NuttX standards. The author needs to:
Without these improvements, the PR is incomplete and risks introducing regressions into the NuttX codebase. |
@lupyuen |
I know what happens, will fix it in a quick time. |
@GUIDINGLI Yep it's the same problem as apache/nuttx-apps#2716 (comment)
https://github.com/apache/nuttx/actions/runs/11320111668/job/31477184924?pr=14218 |
Here is the fix: |
@lupyuen @GUIDINGLI Please merge this PR if CI errors is not related to these commits |
@GUIDINGLI @xiaoxiang781216 I'll let you decide when to merge this, since we are busy fixing the CI right now thanks :-) |
OK, I am waiting for the CI result. |
@anchao |
@GUIDINGLI Yep I forked the NuttX Repo 30 mins ago, the CI looks OK so far :-) |
Still CI error: |
@lupyuen |
@GUIDINGLI Lemme think about this, the CI Build Flow is a little complicated, I'm still learning :-) Also I wonder: Do we really need to build so many Arm Targets every time? If we build only the latest targets (e.g. SAMV7, Goldfish), then the problems will show up earlier. (And reduce our cost of GitHub Actions) Or we should move SAMV7, Goldfish etc to the first job |
Agreed with you. I think we only need keep: How about others think about it ? |
Let's discuss the Arm32 Targets here thanks! |
Summary
Revert "pthread: We should not directly include arch/spinlock.h as it may cause compilation errors in C++."
Revert "sched/spinlock: remove nesting spinlock support"
Revert "libc/atomic: decoupling atomic and spinlock to avoid recursion"
Further work(without this feature could be closed):
#14200
Impact
N/A
Testing
ci-check