DragonFly BSD
DragonFly commits List (threaded) for 2009-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - close holes in autoconf's run_interrupt_driven_config_hooks()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Sep 2009 11:52:31 -0700 (PDT)

commit d849b9226af30875e6735ef39d19f7a7fd3b2b0e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Sep 30 11:47:25 2009 -0700

    kernel - close holes in autoconf's run_interrupt_driven_config_hooks()
    
    * Interlock with a ran_config_hooks static variable instead of 'cold'
    
    * Get rid of list races which might occur due to hooks being removed
      while the hooks are being run.
    
    * Use a finer 1-second sleep interval instead of a 10-second sleep.

Summary of changes:
 sys/kern/subr_autoconf.c |   47 ++++++++++++++++++++++++++++++---------------
 1 files changed, 31 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d849b9226af30875e6735ef39d19f7a7fd3b2b0e


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]