CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2011/06/20 11:05:46

Modified files:
        sys/kern       : subr_autoconf.c 

Log message:
serialize attach and detach of device sub-trees -- only one device
sub-tree may attach or detach at a time.  attach and detach will sleep
against each other.
this is fixing (working around?) some bizzare corner cases that have
been seen (but not fully diagnosed) where the device trees, disk registration
subsystem, and other things could get messed up.  one could argue though
that this serialization is a very good thing; it is easier than adding piles
of locks in various other places.
ok matthew jsing

Reply via email to