pussuw commented on code in PR #15563:
URL: https://github.com/apache/nuttx/pull/15563#discussion_r1916605359


##########
arch/risc-v/src/common/riscv_macros.S:
##########
@@ -58,7 +58,9 @@
 #ifdef RISCV_SAVE_GP
   REGSTORE   x3,  REG_X3(\in)    /* gp */
 #endif
+#ifdef CONFIG_SCHED_THREAD_LOCAL

Review Comment:
   Unnecessary as well, TP will remain stable when the user process is running, 
as well as during a trap. Only time when TP needs to be updated is when a 
context switch occurs.



-- 
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]

Reply via email to