nuttx/sched
hujun5 7db6632ab3 sched: irq: Change this_task to current_task(me) in restore_critical_section()
this_task() is a function call that involves disabling interrupts and this_cpu().
Since restore_critical_section is always called in an interrupt-disabled context,
there's no need to disable interrupts again. Therefore, to save time and achieve
the same effect, I directly call tcb = current_task(me) instead of tcb = this_task().

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-06-21 11:11:07 +09: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/pthread: simplify pthread_create() branch logic 2024-06-07 01:32:42 +08:00
init sched/kconfig: add PID_INITIAL_COUNT 2024-06-12 16:10:35 +08:00
instrument sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00
irq sched: irq: Change this_task to current_task(me) in restore_critical_section() 2024-06-21 11:11:07 +09:00
misc fix nxstyle 2024-05-11 01:19:06 +08:00
module fs: procfs add poll support 2023-12-26 19:23:13 -08:00
mqueue sched/mqueue: move message queue buffer to bss 2024-06-04 14:26:55 +08:00
paging sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
pthread sched/pthread: simplify pthread_create() branch logic 2024-06-07 01:32:42 +08:00
sched sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
semaphore sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
signal sched/signal: move signal structures pool to bss 2024-06-04 14:26:55 +08:00
task sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
timer timer: use spin_lock_irqsave protect g_alloctimers 2024-04-11 10:45:34 +08:00
tls tls: fix build error under CONFIG_PTHREAD_ATFORK enabled 2024-05-28 13:54:30 +02:00
wdog clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
wqueue Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig sched/kconfig: add PID_INITIAL_COUNT 2024-06-12 16:10:35 +08:00
Makefile sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00