diff options
| author | riastradh <riastradh@NetBSD.org> | 2021-06-13 00:11:17 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2021-06-13 00:11:17 +0000 |
| commit | ea2ec439285b035eb3d0a3f4004b91de787b88a2 (patch) | |
| tree | ed2a7ca9d92654e86d55dac223e74081ed666d18 /sys/dev | |
| parent | 2c91f520bf5fee9d770cfee3dd36663970e3ec7b (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
