Module Name: src Committed By: jmcneill Date: Sun Sep 20 11:25:36 UTC 2020
Modified Files: src/sys/dev/fdt: fdtbus.c Log Message: Adjust fdt_rescan to speed up booting by significantly reducing the number of times that we call config_match. Now we only call it 11 times per node. Previously, each scan pass of an unconfigured device triggered 11 calls to config_match, and adding a new simplebus causes the scan to restart, so we are avoiding potentially hundreds of calls to config_match per node now. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/dev/fdt/fdtbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.