nuttx/sched/task
hujun5 ed998c08c4 sched: change the SMP scheduling policy from synchronous to asynchronous
reason:
Currently, if we need to schedule a task to another CPU, we have to completely halt the other CPU,
manipulate the scheduling linked list, and then resume the operation of that CPU. This process is both time-consuming and unnecessary.

During this process, both the current CPU and the target CPU are inevitably subjected to busyloop.

The improved strategy is to simply send a cross-core interrupt to the target CPU.
The current CPU continues to run while the target CPU responds to the interrupt, eliminating the certainty of a busyloop occurring.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-10-09 23:32:31 +08:00
..
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
exit.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Make.defs sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
spawn.h sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_activate.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_cancelpt.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_create.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_delete.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_execve.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_exit.c sched: add nxsched_remove_self 2024-10-09 18:19:13 +08:00
task_exithook.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_fork.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_getgroup.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_getpid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_getppid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_gettid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_init.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_join.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_posixspawn.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_prctl.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_recover.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_reparent.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_restart.c sched: change the SMP scheduling policy from synchronous to asynchronous 2024-10-09 23:32:31 +08:00
task_setup.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_spawn.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_spawnparms.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_start.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_starthook.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_terminate.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task.h sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00