1
0
Fork 0
forked from nuttx/nuttx-update
local-nuttx-update/sched
hujun5 1c5a0bf6cc irq: add [enter|leave]_critical_section_nonirq
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

reason:
In some non-irq scenarios, we can simplify
the implementation of critical sections to improve performance.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-09-08 17:50:51 +08:00
..
addrenv cmake:complete missing changes during cmake reforming for sched 2023-09-08 21:20:16 +03:00
clock sched: use this_task replace nxsched_self 2024-09-05 09:33:50 -03:00
environ [env]:Fixed spacing and typo issues in code comment descriptions 2024-08-27 21:52:56 +08:00
event sched/event: clear pending events before enable the scheduler 2024-09-02 18:24:28 +08:00
group spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
init docs: fix typo in nx_smpstart.c 2024-08-21 17:07:19 +08:00
instrument sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00
irq irq: add [enter|leave]_critical_section_nonirq 2024-09-08 17:50:51 +08:00
misc sched: replace up_cpu_index with this_cpu 2024-09-05 12:09:24 +08:00
module fs: procfs add poll support 2023-12-26 19:23:13 -08:00
mqueue irq: add [enter|leave]_critical_section_nonirq 2024-09-08 17:50:51 +08:00
paging sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
pthread sched: change pthread_mutex implementation from sem to mutex 2024-09-06 09:42:53 +08:00
sched init: add OSINIT_TASK_READY 2024-09-06 11:25:34 +08:00
semaphore irq: add [enter|leave]_critical_section_nonirq 2024-09-08 17:50:51 +08:00
signal sched/signal: fix pthread_kill use after free 2024-08-23 20:02:46 +08:00
task task: assign_pid retry after malloc 2024-09-03 09:45:33 -03:00
timer timer: use spin_lock_irqsave protect g_alloctimers 2024-04-11 10:45:34 +08:00
tls sched:fix windows sim build error 2024-08-14 22:36:57 +08:00
wdog clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
wqueue wqueue: add interface work_queue_priority_wq and work_queue_priority 2024-08-30 21:40:55 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig irq: irq with the same priority share the same wqueue 2024-09-06 17:43:11 +08:00
Makefile sched/nxevent: add support of kernel event group 2024-08-23 17:00:35 +08:00