nuttx/sched/sched
ouyangxiangzhen 3b111c8b99 sched/wdog: Refactor wdog module
This commit refactors the wdog module to use absolute time representation internally. The main improvements include:
1. Fixed recursive watchdog handling caused by calling wd_start within watchdog timeout callback function.
2. Simplified timer processing to improve performance and enhance code readability.
3. Improved accuracy of timers.
4. Reduced critical section and interrupt disable time, improving real-time performance.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
2024-09-10 23:32:30 +08:00
..
CMakeLists.txt smp: enable smp_call in all smp arch 2024-09-06 07:11:38 +09:00
Make.defs smp: enable smp_call in all smp arch 2024-09-06 07:11:38 +09: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: 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_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 clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
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 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 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 init: add OSINIT_TASK_READY 2024-09-06 11:25:34 +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/wdog: Refactor wdog module 2024-09-10 23:32:30 +08:00
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: Make sure that affinity mask is valid 2024-09-05 21:26:58 +08:00
sched_setparam.c
sched_setpriority.c sched/sched: simplify the implementation of the function nxsched_readytorun_setpriority 2024-09-08 17:53:59 +08:00
sched_setscheduler.c
sched_smp.c smp: smp call handler add up_cpu_paused_[save|restore] 2024-09-05 09:35:17 -03: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_timerexpiration.c sched/wdog: Refactor wdog module 2024-09-10 23:32:30 +08:00
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/wdog: Refactor wdog module 2024-09-10 23:32:30 +08:00