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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 30 11:54:13 PDT 2009


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





More information about the Commits mailing list