commit 5af4f5b2317c38cd5e4f333b413ee94c2b848b01
Author: Matthew Dillon <[email protected]>
Date: Fri Jul 29 10:02:50 2016 -0700
kernel - Fix rare tsleep/callout race
* Fix a rare tsleep/callout race. The callout timer can trigger before
the tsleep() releases its lwp_token (or if someone else holds the
calling thread's lwp_token).
This case is detected, but failed to adjust lwp_stat before
descheduling and switching away. This resulted in an endless sleep.
Summary of changes:
sys/kern/kern_synch.c | 3 +++
1 file changed, 3 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5af4f5b2317c38cd5e4f333b413ee94c2b848b01
--
DragonFly BSD source repository