[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-commits
Subject: git: kernel - Fix rare tsleep/callout race
From: dillon () crater ! dragonflybsd ! org (Matthew Dillon)
Date: 2016-07-29 17:23:53
Message-ID: 20160729172353.7A3F3A4296CF9E () crater ! dragonflybsd ! org
[Download RAW message or body]
commit a739e4f85f5a01de1f9f1b414af033798a981373
Author: Matthew Dillon <dillon@apollo.backplane.com>
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/a739e4f85f5a01de1f9f1b414af033798a981373
--
DragonFly BSD source repository
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic