aboutsummaryrefslogtreecommitdiff
path: root/secure/lib
diff options
context:
space:
mode:
authorIsaac Cilia Attard <iciliaat@gmail.com>2024-04-29 20:44:27 +0000
committerColin Percival <cperciva@FreeBSD.org>2024-05-10 00:56:40 +0000
commit6437872c1d665c2605f54e8ff040b0ba41edad07 (patch)
treef6f5ed66301481fbfd0576e930d828c481668d4f /secure/lib
parent8c2f6c3be0125142d3c1782e4b0ee0634c584b9e (diff)
downloadsrc-main.tar.gz
src-main.zip
New sysctl to disable NOMATCH until devmatch runsHEADmain
Introduce hw.bus.devctl_nomatch_enabled and use it to suppress NOMATCH until devmatch runs There's a lot of NOMATCH events generated at boot. We also run devmatch once during early boot to load unmatched devices. To avoid redundant work, don't start generating NOMATCH events until after devmatch runs. Set hw.bus.devctl_nomatch_enabled=1 just before we run devmatch. The kernel will suppress NOMATCH events until this is set to true. This saves about 170ms from the boot on aarch64 running atop Apple M-series processors and the VMWare Fusion hypervisor. Reviewed by: imp, cperciva MFC after: 3 days Sponsored by: Google Summer of Code Pull Request: https://github.com/freebsd/freebsd-src/pull/1213
Diffstat (limited to 'secure/lib')
0 files changed, 0 insertions, 0 deletions