nuttx/sched/sched
fangxinyong 7b05a550dc sched: replace up_cpu_index with this_cpu
Make this_cpu is arch independent and up_cpu_index do that.
In AMP mode, up_cpu_index() may return the index of the physical core.

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2024-09-05 12:09:24 +08:00
..
CMakeLists.txt arch: inline this_task to improve performence 2024-08-18 10:53:51 -03:00
Make.defs arch: inline this_task to improve performence 2024-08-18 10:53:51 -03:00
sched_addblocked.c
sched_addprioritized.c
sched_addreadytorun.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
sched_backtrace.c up_backtrace: fix maybe backtrace the exiting thread 2024-07-26 12:03:43 +08:00
sched_cpuload_oneshot.c
sched_cpuload_period.c
sched_cpuload.c Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
sched_cpupause.c
sched_cpuselect.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
sched_critmonitor.c
sched_dumponexit.c files: add files_dumplist api, replace dumponexit implementation 2024-06-30 17:30:42 +08:00
sched_foreach.c Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
sched_get_stackinfo.c
sched_get_stateinfo.c
sched_get_tls.c sched:fix windows sim build error 2024-08-14 22:36:57 +08:00
sched_getaffinity.c sched/sched: There is no need to use sched_[un]lock 2024-04-30 11:34:24 -03:00
sched_getcpu.c sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
sched_getfiles.c
sched_getparam.c sched/sched: There is no need to use sched_[un]lock 2024-04-30 11:34:24 -03:00
sched_getscheduler.c
sched_gettcb.c sched: update spinlock in nxsched_get_tcb to enter_critical_section 2024-09-03 09:45:33 -03:00
sched_idletask.c Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
sched_lock.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
sched_lockcount.c
sched_mergepending.c 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
sched_mergeprioritized.c
sched_processtimer.c
sched_releasetcb.c sched/tcb: fix 12320 regression 2024-06-26 00:20:26 +08:00
sched_removeblocked.c toolchain/ghs: Fix tstate_t "enumerated type mixed with another type" warnings 2024-08-27 01:39:37 +08:00
sched_removereadytorun.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
sched_reprioritize.c
sched_reprioritizertr.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
sched_resumescheduler.c sched/sched: CONFIG_SCHED_RESUMESCHEDULER macro define error 2024-05-09 01:39:47 +08:00
sched_roundrobin.c
sched_rrgetinterval.c
sched_self.c
sched_setaffinity.c
sched_setparam.c
sched_setpriority.c toolchain/ghs: Fix tstate_t "enumerated type mixed with another type" warnings 2024-08-27 01:39:37 +08:00
sched_setscheduler.c
sched_smp.c
sched_sporadic.c
sched_suspend.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
sched_suspendscheduler.c
sched_sysinfo.c
sched_timerexpiration.c
sched_unlock.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
sched_verifytcb.c Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
sched_wait.c
sched_waitid.c sched/sched: There is no need to use sched_[un]lock 2024-04-30 11:34:24 -03:00
sched_waitpid.c sched/sched: There is no need to use sched_[un]lock 2024-04-30 11:34:24 -03:00
sched_yield.c
sched.h sched: replace up_cpu_index with this_cpu 2024-09-05 12:09:24 +08:00