Discussion:
git: DragonFly_RELEASE_5_4 kernel - Fix probable callout race
Matthew Dillon
2018-12-01 05:13:06 UTC
Permalink
commit bfb74114186d99705ed3176947a8454bdd1a5f7b
Author: Matthew Dillon <***@apollo.backplane.com>
Date: Sat Nov 24 23:39:15 2018 -0800

kernel - Fix probable callout race

* Fix a probable callout race in kern/kern_event.c. It is possible
for the callout to be requeued during teardown and for the
structure to subsequently become corrupted.

Manifests as 'stuck' processes (still ^C'able if PCATCH is flagged),
and sleeps which do not expire. Can be triggered by synth bulk runs.

* Increase maximum number of kqueue timers from 4096 to 65536. This
limit will have to be moved to uidinfo (but not in this commit).

Summary of changes:
sys/kern/kern_event.c | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bfb74114186d99705ed3176947a8454bdd1a5f7b
--
DragonFly BSD source repository
Loading...