GUIDINGLI commented on a change in pull request #4016:
URL: https://github.com/apache/incubator-nuttx/pull/4016#discussion_r663385262



##########
File path: Kconfig
##########
@@ -1758,6 +1758,16 @@ config STACK_COLORATION
 
                Only supported by a few architectures.
 
+config STACK_USAGE_SAFE_PERCENT
+       int "Stack usage safe precent"
+       default 0
+       range 0 100
+       depends on STACK_COLORATION
+       ---help---
+               Stack usage precent = up_check_tcbstack() * 100 / 
tcb->adj_stack_size,
+               this should lower then STACK_USAGE_SAFE_PERCENT.
+               Idle thread will timely check stack usage when this marco value 
> 0.

Review comment:
       done, thanks




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


Reply via email to