xiaoxiang781216 commented on code in PR #17308: URL: https://github.com/apache/nuttx/pull/17308#discussion_r2513326404
########## sched/wdog/wd_start.c: ########## @@ -303,6 +303,16 @@ int wd_start_abstick(FAR struct wdog_s *wdog, clock_t ticks, flags = spin_lock_irqsave(&g_wdspinlock); #ifdef CONFIG_SCHED_TICKLESS + + /* Reject if the wdog expiration time is + * earlier than the current system time + */ + + if (clock_compare(wdog->expired, clock_systime_ticks())) Review Comment: in this case, should we trigger timer interrupt as fast as possible? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
