nuttx/arch
ligd 1fb4f8f50e arch: change nxsched_suspend/resume_scheduler() called position
for the citimon stats:

thread 0:                     thread 1:
enter_critical (t0)
up_switch_context
note suspend thread0 (t1)

                              thread running
                              IRQ happen, in ISR:
                                post thread0
                                up_switch_context
                                note resume thread0 (t2)
                                ISR continue f1
                                ISR continue f2
                                ...
                                ISR continue fn

leave_critical (t3)

You will see, the thread 0, critical_section time is:
(t1 - t0) + (t3 - t2)

BUT, this result contains f1 f2 .. fn time spent, it is wrong
to tell user thead0 hold the critical lots of time but actually
not belong to it.

Resolve:
change the nxsched_suspend/resume_scheduler to real hanppends

Signed-off-by: ligd <liguiding1@xiaomi.com>
2024-10-10 15:31:50 +02:00
..
arm arch: change nxsched_suspend/resume_scheduler() called position 2024-10-10 15:31:50 +02:00
arm64 arch: change nxsched_suspend/resume_scheduler() called position 2024-10-10 15:31:50 +02:00
avr Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
ceva arch: change nxsched_suspend/resume_scheduler() called position 2024-10-10 15:31:50 +02:00
dummy
hc Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
mips Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
misoc Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
or1k Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
renesas Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
risc-v arch: change nxsched_suspend/resume_scheduler() called position 2024-10-10 15:31:50 +02:00
sim smp:fix sim build error under config CONFIG_SMP 2024-10-10 17:55:47 +08:00
sparc sched: change the SMP scheduling policy from synchronous to asynchronous 2024-10-09 23:32:31 +08:00
tricore Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
x86 arch: change nxsched_suspend/resume_scheduler() called position 2024-10-10 15:31:50 +02:00
x86_64 arch: change nxsched_suspend/resume_scheduler() called position 2024-10-10 15:31:50 +02:00
xtensa arch: change nxsched_suspend/resume_scheduler() called position 2024-10-10 15:31:50 +02:00
z16 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
z80 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
CMakeLists.txt
Kconfig binfmt/modlib: support loading each sections to different memory for Relocate object 2024-10-08 23:51:33 +08:00