git: kernel - close holes in autoconf's run_interrupt_driven_config_hooks()
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Sep 30 11:54:04 PDT 2009
commit d849b9226af30875e6735ef39d19f7a7fd3b2b0e
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/d849b9226af30875e6735ef39d19f7a7fd3b2b0e
--
DragonFly BSD source repository
More information about the Commits
mailing list