incubator-nuttx/sched/sched
hujun5 e067f897c0 sched: remove redundant variables "switched"
test:
We can use qemu for testing.

compiling
make distclean -j20; ./tools/configure.sh -l qemu-armv8a:nsh_smp ;make -j20
running
qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic -machine virt,virtualization=on,gic-version=3 -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-05-21 09:00:29 +08:00
..
CMakeLists.txt sched: Move dump.c to sched_dumponexit.c 2024-04-19 08:39:10 +08:00
Make.defs sched: Move dump.c to sched_dumponexit.c 2024-04-19 08:39:10 +08:00
sched.h sched/init: move task list table from data to bss 2024-03-23 01:04:15 +08:00
sched_addblocked.c
sched_addprioritized.c
sched_addreadytorun.c sched: remove redundant variables "switched" 2024-05-21 09:00:29 +08:00
sched_backtrace.c
sched_cpuload.c sched: replace some global variables to macro 2024-03-21 18:51:25 +08:00
sched_cpuload_oneshot.c sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
sched_cpuload_period.c sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +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 clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
sched_dumponexit.c sched: Move dump.c to sched_dumponexit.c 2024-04-19 08:39:10 +08:00
sched_foreach.c sched: replace some global variables to macro 2024-03-21 18:51:25 +08:00
sched_get_stackinfo.c Update kconfig2html.c 2023-12-14 20:02:52 -08:00
sched_get_stateinfo.c paging: Rename existing CONFIG_PAGING to CONFIG_LEGACY_PAGING 2024-03-05 09:45:49 +08:00
sched_get_tls.c task/pthread_cancelpt: Fix task_delete from another task group 2023-11-22 08:05:58 -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: replace some global variables to macro 2024-03-21 18:51:25 +08:00
sched_idletask.c sched/init: refine init state interface 2024-03-23 01:04:15 +08:00
sched_lock.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +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: replace some global variables to macro 2024-03-21 18:51:25 +08:00
sched_removeblocked.c Revert "fix variable set but not used" 2024-02-21 21:29:48 -08:00
sched_removereadytorun.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +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 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_setscheduler.c
sched_smp.c sched: Exit immediately when cpuset change to 0. 2023-10-18 21:12:35 +08:00
sched_sporadic.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
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: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
sched_thistask.c
sched_timerexpiration.c sched: Stop the sched timer when possible to save the power in tickless mode 2023-12-17 08:25:11 -06:00
sched_unlock.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_verifytcb.c sched: replace some global variables to macro 2024-03-21 18:51: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