summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2021-06-13 00:11:17 +0000
committerriastradh <riastradh@NetBSD.org>2021-06-13 00:11:17 +0000
commitea2ec439285b035eb3d0a3f4004b91de787b88a2 (patch)
treeed2a7ca9d92654e86d55dac223e74081ed666d18 /sys/dev
parent2c91f520bf5fee9d770cfee3dd36663970e3ec7b (diff)
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.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions