mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
idle: remove heap & stack check in idle thread
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -1873,20 +1873,6 @@ config STACK_COLORATION
|
||||
|
||||
Only supported by a few architectures.
|
||||
|
||||
config STACK_USAGE_SAFE_PERCENT
|
||||
int "Stack usage safe percent"
|
||||
default 0
|
||||
range 0 100
|
||||
depends on STACK_COLORATION
|
||||
---help---
|
||||
Stack usage percent = up_check_tcbstack() * 100 / tcb->adj_stack_size,
|
||||
this should be lower than STACK_USAGE_SAFE_PERCENT.
|
||||
|
||||
Idle thread will periodically check stack usage when this macro
|
||||
value > 0.
|
||||
|
||||
N.B. This feature should not be used in production code.
|
||||
|
||||
config STACK_CANARIES
|
||||
bool "Compiler stack canaries"
|
||||
depends on ARCH_HAVE_STACKCHECK
|
||||
|
||||
Reference in New Issue
Block a user