HardenedBSD/libexec
Isaac Cilia Attard 6437872c1d New sysctl to disable NOMATCH until devmatch runs
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
2024-05-09 17:56:40 -07:00
..
atf
atrun
blacklistd-helper
bootpd bootpd(8): Fix a typo in a source code comment 2024-01-22 21:46:31 +01:00
comsat
dma dma.conf: Fix typo 2024-03-27 10:37:22 -04:00
fingerd
flua
ftpd
getty
hyperv
kgdb
mail.local
makewhatis.local
mknetid
nuageinit nuageinit: add basic support for cloudinit. 2024-03-15 09:22:16 +01:00
phttpget Remove remnants of portsnap(8) 2024-04-30 22:44:34 +09:00
pppoed
rbootd
rc New sysctl to disable NOMATCH until devmatch runs 2024-05-09 17:56:40 -07:00
revnetgroup
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rtld-elf rtld.1: clarify interaction between -u and -o 2024-04-30 03:26:55 +03:00
rtld-elf32
save-entropy
smrsh
talkd
tcpd
tests
tftp-proxy
tftpd tftpd: Untangle a conditional. 2024-04-30 16:56:17 +02:00
ulog-helper
ypxfr
Makefile nuageinit: add basic support for cloudinit. 2024-03-15 09:22:16 +01:00
Makefile.inc