Module Name: src Committed By: riastradh Date: Sat Jun 12 12:13:51 UTC 2021
Modified Files: src/sys/kern: subr_autoconf.c src/sys/sys: device.h Log Message: autoconf(9): Prevent concurrent attach/detach and detach/detach. - Use config_pending_incr/decr around attach. No need for separate flag indicating device is still attaching. (dv_flags locking is also incoherent.) - Any config_pending now blocks config_detach. - New dv_detaching exclusive lock for config_detach. To generate a diff of this commit: cvs rdiff -u -r1.282 -r1.283 src/sys/kern/subr_autoconf.c cvs rdiff -u -r1.170 -r1.171 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.