nuttx/sched
hujun5 03895f1073 sched: sched: Simplify the scheduling logic in nxsched_add_readytorun() for SMP
test:
We can use qemu for testing.
compiling
make distclean -j20; ./tools/configure.sh -l qemu-armv8a:nsh_smp ;make -j20 running
qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic -machine virt,virtualization=on,gic-version=3 -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx

We have also tested this patch on other ARM hardware platforms.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-05-07 01:15:55 +08:00
..
addrenv cmake:complete missing changes during cmake reforming for sched 2023-09-08 21:20:16 +03:00
clock sched/group: change type of task group member to single queue 2024-03-07 12:39:29 +08:00
environ sched/environ: Improve performance of set/unset environment 2024-04-03 00:10:56 +08:00
group sched/group/group_killchildren.c: Force-cancel children if parent is force-cancelled 2024-03-20 18:03:15 -03:00
init sched/mqueue: merge System-V message queue initialize into posix 2024-03-26 17:32:11 +01:00
instrument sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00
irq irq: All irq_cpu_locked is called in the critical_section, and the parameter is the current cpu id. 2024-04-12 17:40:23 +08:00
misc sched: misc: Remove sched_lock in _assert() 2024-04-21 11:40:01 +02:00
module fs: procfs add poll support 2023-12-26 19:23:13 -08:00
mqueue sched/mqueue: correct list parameter 2024-04-11 22:19:34 +08:00
paging sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
pthread sched/pthread: detached thread should destroy the join info 2024-04-09 13:46:51 +08:00
sched sched: sched: Simplify the scheduling logic in nxsched_add_readytorun() for SMP 2024-05-07 01:15:55 +08:00
semaphore shced:sem: replace mutex with spinlock 2024-03-19 18:06:12 +08:00
signal sched/signal: add sanity check for siginfo 2024-03-26 20:55:04 +08:00
task sched: replace some global variables to macro 2024-03-21 18:51:25 +08:00
timer timer: use spin_lock_irqsave protect g_alloctimers 2024-04-11 10:45:34 +08:00
tls stdio/file: unify group file list to common single queue 2024-03-18 19:32:49 +08:00
wdog clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
wqueue sched: wqueue: Remove sched_[un]lock from kwork_inherit.c 2024-05-01 11:08:07 +08:00
CMakeLists.txt
Kconfig sched/Kconfig: make disable idle loop configurable 2024-04-19 20:12:17 +08:00
Makefile sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00