You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/10/17 11:14:24 UTC
[GitHub] [incubator-nuttx] Ouss4 opened a new pull request #4677: arch/*_cpupause:Allow a spin before taking the g_cpu_wait spinlock.
Ouss4 opened a new pull request #4677:
URL: https://github.com/apache/incubator-nuttx/pull/4677
## Summary
If we repeatedly call up_cpu_pause and up_cpu_resume, there would be
cases where the next call to up_cpu_pause happens while the other CPU is
still responding to the previous resume request. In this case the
DEBUGASSERT will trigger. We should allow the first CPU to wait until the
other CPU has finished responding to the resume request.
## Impact
Multi-core chips.
## Testing
Tested with ESP32, see #4669
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #4677: arch/*_cpupause:Allow a spin before taking the g_cpu_wait spinlock.
Posted by GitBox <gi...@apache.org>.
masayuki2009 commented on pull request #4677:
URL: https://github.com/apache/incubator-nuttx/pull/4677#issuecomment-945103942
LGTM.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] masayuki2009 merged pull request #4677: arch/*_cpupause:Allow a spin before taking the g_cpu_wait spinlock.
Posted by GitBox <gi...@apache.org>.
masayuki2009 merged pull request #4677:
URL: https://github.com/apache/incubator-nuttx/pull/4677
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org