wangchdo opened a new pull request, #17220: URL: https://github.com/apache/nuttx/pull/17220
The nxsched_switch_context() function should only be called when a task switch actually occurs. The RISC-V architecture already performs this call in riscv_perform_syscall(), so this PR removed the redundant nxsched_switch_context() call in up_switch_context(). ## Summary removed the redundant nxsched_switch_context() call in up_switch_context() for arch risc-v ## Impact risc-v arch implementation improvement, no impact to other nuttx parts ## Testing **ostest passed on board qemu-rv/rv-virt** <img width="1159" height="869" alt="image" src="https://github.com/user-attachments/assets/35a2744e-d1de-4d76-8cc1-f486dafb9215" /> -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
