git: DragonFly_RELEASE_5_4 kernel - Fix probable callout race

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 30 21:13:06 PST 2018


commit bfb74114186d99705ed3176947a8454bdd1a5f7b
Author: Matthew Dillon <dillon at 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


More information about the Commits mailing list