jlaitine commented on PR #16673: URL: https://github.com/apache/nuttx/pull/16673#issuecomment-3174075438
> @jlaitine A naive question from me: does it make sense to make `SMP` behavior the default for all code paths, using only `SMP_NCPUS=1` for single-core systems, or would it be a big code complication and huge rewrite for internal subsystems and drivers? This is a very good question, and there *are* many places where that would make sense (like in these scheduling / task queueing related places). Perhaps there is not enough motivation to do that, however, while things are working properly as they are ... This particular PR started from the issues we encountered with SMP, and which we tried to first just fix; then it expanded to this big one. But I don't want to expand it further to non-SMP systems. Rewriting these are risky; even if you don't make bugs there is a high chance that some other bugs would surface when timings/ordering change. -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org