Fix-Point commented on code in PR #21342:
URL: https://github.com/apache/nuttx/pull/21342#discussion_r4522885627


##########
sched/Kconfig:
##########
@@ -298,6 +298,47 @@ config RW_SPINLOCK
                Reader can take read lock simultaneously and only one writer
                can take write lock.
 
+config SPINLOCK_INLINE
+       bool "Inline spinlock helpers"
+       default !DEFAULT_SMALL
+       ---help---
+               Inline spinlock helper functions to improve performance.  
Disable
+               this option to emit callable non-inline versions and reduce
+               header-inline code growth.
+
+choice
+       prompt "Spinlock wait policy"
+       default SPINWAIT_PM if PM
+       default SPINWAIT_RELAX
+
+config SPINWAIT_RELAX
+       bool "Relax hint wait"
+       ---help---
+               Spinlock waiters poll the lock with the architecture relax
+               hint (PAUSE on x86_64, YIELD on aarch64) and unlocking sends

Review Comment:
   I will fix the help in the next PR.



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