nuttx/sched
hujun5 b52ad53cc1 sched: replace sync pause with async pause for nxsched_suspend
reason:
In the kernel, we are planning to remove all occurrences of up_cpu_pause as one of the steps to
simplify the implementation of critical sections. The goal is to enable spin_lock_irqsave to encapsulate critical sections,
thereby facilitating the replacement of critical sections(big lock) with smaller spin_lock_irqsave(small lock)

Configuring NuttX and compile:
$ ./tools/configure.sh -l qemu-armv8a:nsh_smp
$ make
Running with qemu
$ 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

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-10-17 12:51:14 +02:00
..
addrenv sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock Make each function of SCHED_CRITMONITOR independent 2024-09-19 03:16:14 +08:00
environ sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
event sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
init sched: change nxsched_islocked_global to nxsched_islocked_tcb 2024-10-10 17:57:30 +08:00
instrument sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
irq arch: remove up_cpu_pause up_cpu_resume up_cpu_paused up_cpu_pausereq 2024-10-11 01:30:51 +08:00
misc board_reset: flush cache before reset 2024-10-11 01:30:51 +08:00
module modlib/dlfcn:unify same code 2024-10-08 23:51:33 +08:00
mqueue sched: add nxsched_remove_self 2024-10-09 18:19:13 +08:00
paging sched: add nxsched_remove_self 2024-10-09 18:19:13 +08:00
pthread pthread_mutex:add deadlock assert 2024-09-20 22:05:29 +08:00
sched sched: replace sync pause with async pause for nxsched_suspend 2024-10-17 12:51:14 +02:00
semaphore sched: add nxsched_remove_self 2024-10-09 18:19:13 +08:00
signal sched: replace sync pause with async pause for nxsig_process 2024-10-11 01:30:51 +08:00
task sched: replace sync pause with async pause for nxtask_restart 2024-10-11 01:30:51 +08:00
timer sched/signal: Simplified Implementation for SIGEV_THREAD_TID. 2024-09-23 12:29:36 +08:00
tls sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
wdog wdog: rename wd_start_absolute() to wd_start_abstick() 2024-09-17 12:15:14 +08:00
wqueue sched/wqueue: Fix unexpected dq entry status 2024-09-17 02:56:39 +08:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig assert: dump all CPU registers and stack 2024-10-11 01:30:51 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00