jinliangli commented on issue #16107: URL: https://github.com/apache/nuttx/issues/16107#issuecomment-2772150651
> [@jinliangli](https://github.com/jinliangli) please see the discussion here: [#14578](https://github.com/apache/nuttx/pull/14578) well, it seems that adding sched_lock into spin_lock that will cause crash issue when spin_lock is called when bootup, because os kernel is not ready, sched_lock should not be called before os kernel init. Shall we call spin_lock_notrace(without sched_lock) instead of spin_lock(with sched_lock) when system bootup before os kernel init ? -- 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