nuttx/arch
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
..
arm sched: change the SMP scheduling policy from synchronous to asynchronous 2024-10-09 23:32:31 +08:00
arm64 sched: change the SMP scheduling policy from synchronous to asynchronous 2024-10-09 23:32:31 +08:00
avr Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
ceva arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
dummy
hc Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
mips Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
misoc Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
or1k Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
renesas Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
risc-v sched: change the SMP scheduling policy from synchronous to asynchronous 2024-10-09 23:32:31 +08:00
sim sched: change the SMP scheduling policy from synchronous to asynchronous 2024-10-09 23:32:31 +08:00
sparc sched: change the SMP scheduling policy from synchronous to asynchronous 2024-10-09 23:32:31 +08:00
tricore Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
x86 Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
x86_64 sched: change the SMP scheduling policy from synchronous to asynchronous 2024-10-09 23:32:31 +08:00
xtensa sched: change the SMP scheduling policy from synchronous to asynchronous 2024-10-09 23:32:31 +08:00
z16 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
z80 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Kconfig binfmt/modlib: support loading each sections to different memory for Relocate object 2024-10-08 23:51:33 +08:00