nuttx/sched/irq
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
..
CMakeLists.txt sched/irq: spinlock should not depends on SMP 2024-03-26 15:21:52 +08:00
irq_attach.c sched: we use spin_lock_irqsave replace enter_critical_section to protect g_irqvector 2024-05-09 13:45:02 +08:00
irq_chain.c sched: we use spin_lock_irqsave replace enter_critical_section to protect g_irqvector 2024-05-09 13:45:02 +08:00
irq_csection.c sched: irq: Change this_task to current_task(me) in restore_critical_section() 2024-06-21 11:11:07 +09:00
irq_dispatch.c clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
irq_foreach.c
irq_initialize.c add the startup process tracepoint 2023-08-19 21:50:08 +08:00
irq_procfs.c fs: procfs add poll support 2023-12-26 19:23:13 -08:00
irq_spinlock.c sched/irq: spinlock should not depends on SMP 2024-03-26 15:21:52 +08:00
irq_unexpectedisr.c
irq.h 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
Make.defs sched/irq: spinlock should not depends on SMP 2024-03-26 15:21:52 +08:00