kernel - close holes in autoconf's run_interrupt_driven_config_hooks()
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 30 Sep 2009 18:47:25 +0000 (11:47 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 30 Sep 2009 18:47:25 +0000 (11:47 -0700)
commitd849b9226af30875e6735ef39d19f7a7fd3b2b0e
tree25309d160d64eb2868f9954f2d1e1b5d2db7d07b
parent2fcd6d47704f526e80a905fa7accbec3f5528041
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.
sys/kern/subr_autoconf.c