nuttx/sched
hujun5 5051721298 sched/pthread: move pthread mutex from syscall to user-space
Move pthread mutex operations from kernel-space syscall
interface to user-space implementations
to reduce syscall overhead. Relocate mutex holder list
tracking from task control block (tcb) to
thread local storage (tls) to improve memory layout and
cache efficiency. Add helper macros for
conditional mutex implementations and update syscall
interface accordingly.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-22 12:40:49 -03:00
..
addrenv sched/addrenv: replace critical section with spinlock for refs protection 2026-01-20 11:29:22 +08:00
clock include/clock.h: Fix type of macro defination of constants 2026-01-22 22:14:00 +08:00
environ libc/environ: add interrupt context check to getenv 2026-01-21 10:37:55 +08:00
event sched/event: Fix uninitialized need_switch flag issue in event_post() 2025-11-04 21:43:59 +08:00
group sched: move process ID from kernel to TLS for faster access 2026-01-20 22:33:45 +08:00
hrtimer sched/hrtimer: add option for list-based hrtimer management 2026-01-21 10:33:12 +08:00
init sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
instrument gprof: move gprof function from sched to libbuiltin/libgcc 2024-11-13 02:42:31 +08:00
irq sched/irq: Change the function parameter "regs" to "context" 2026-01-22 23:15:32 +08:00
misc sched/signal: Add support for disabling all signal functions 2026-01-18 08:24:13 -03:00
module libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
mqueue sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task() 2025-08-20 10:16:43 +08:00
paging sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
pthread sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
sched sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
semaphore sched/semaphore: Fix illegal abstime. 2026-01-22 22:14:00 +08:00
signal sched/signal: Fix compilation warning uninitialized. 2026-01-22 22:14:00 +08:00
task sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
timer sched/timer: Fix MISRA Rule 10.3 2026-01-22 22:14:00 +08:00
tls sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
wdog sched/wdog: Simplify the wd_timer_start. 2026-01-22 19:31:28 +08:00
wqueue sched/wqueue: Replace spinlock/sched_lock with spin_lock_irqsave_nopreempt 2025-10-31 15:02:56 +08:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig sched/hrtimer: add option for list-based hrtimer management 2026-01-21 10:33:12 +08:00
Makefile sched/hrtimer: Fix hrtimer compilation. 2026-01-08 22:26:11 +08:00