no1wudi opened a new pull request #5913: URL: https://github.com/apache/incubator-nuttx/pull/5913
## Summary We can't change the address enviroment before restore context or switch context since the syscall will trigger a exception, and we will save the current context in exception_common, but if the address enviroment changed, the context of old thread would be saved in wrong place. ## Impact RISC-V works in kernel mode ## Testing CI, may MPFS. -- 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