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

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


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

commit 7a4c2701e20cf58461dfa4d8b0e2df9322c20db7
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/7a4c2701e20cf58461dfa4d8b0e2df9322c20db7


-- 
DragonFly BSD source repository



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