Module Name: src Committed By: riastradh Date: Sun Jun 13 00:11:17 UTC 2021
Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Take kernel lock in a few entry points. The arguments to config_attach_pseudo, config_init/fini_component, and config_cfdata_attach/detach are generally statically allocated objects in a module or the main kernel and as such are stable, and there are no data structure invariants they assume the kernel lock will covers from call to call. So there should be no need for the caller to hold the kernel lock. Should fix panic on modload of, e.g., nvmm. To generate a diff of this commit: cvs rdiff -u -r1.284 -r1.285 src/sys/kern/subr_autoconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.