sched: remove nxsched_suspend/resume_scheduler

move both suspned and resume logic to nxsched_switch_context

Co-authored-by: yinshengkai <yinshengkai@xiaomi.com>
Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com>
This commit is contained in:
guoshengyuan1
2025-09-25 19:56:42 +08:00
committed by GUIDINGLI
parent 13cbc9bf9d
commit c62861d383
7 changed files with 30 additions and 140 deletions
+1 -1
View File
@@ -2457,7 +2457,7 @@ config STACK_COLORATION
config STACKCHECK_SOFTWARE
bool "Software detection of stack overflow"
depends on STACK_COLORATION && DEBUG_ASSERTIONS && SCHED_SUSPENDSCHEDULER
depends on STACK_COLORATION && DEBUG_ASSERTIONS
---help---
When switching contexts, it will detect whether a stack overflow occurs.
Two methods are used here.