You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add idle task per hart at boot to prevent panic on no runnable tasks
To prevent kernel panic during startup when some harts may not have any
runnable tasks assigned, add an idle task for each hart. The idle task
runs an infinite loop calling mo_task_wfi(), ensuring the hart remains
in a low-power wait state instead of causing a panic due to lack of
tasks.
This guarantees that every hart has at least one task to execute
immediately after boot, improving system robustness and stability on
SMP setups.
0 commit comments