Skip to content

Conversation

@anchao
Copy link
Contributor

@anchao anchao commented Dec 25, 2025

Summary

sched/wdog: fix race condition in wd_gettime()

Move WDOG_ISACTIVE check inside critical section protection to avoid race condition

Signed-off-by: chao an anchao.archer@bytedance.com

Impact

N/A

Testing

sim/nsh, sabre-6quad/smp ostest

@github-actions github-actions bot added Area: OS Components OS Components issues Size: S The size of the change in this PR is small labels Dec 25, 2025
Move WDOG_ISACTIVE check inside critical section protection to avoid race condition

Signed-off-by: chao an <anchao.archer@bytedance.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 6300bc5 into apache:master Dec 26, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: OS Components OS Components issues Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants