git: sys/kern: make the interrupt-config-hook settle delay tunable

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sun Jul 5 03:17:48 PDT 2026


commit 1da43b0a4a24287a623d58eb67bf3ab38fe71972
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Sun Jul 5 01:36:15 2026 +0200

    sys/kern: make the interrupt-config-hook settle delay tunable
    
    After the interrupt-driven config hooks have finished, the kernel
    lingers for a hardcoded 5 seconds before proceeding to the root mount,
    to give USB a chance to enumerate (else a USB root device might not be
    seen).  On systems that cannot boot from USB - virtual machines in
    particular - this is 5 seconds of pure boot-time waste.
    
    Replace the hardcoded 5*hz with a kern.intr_config_hook_delay_ms
    tunable (default 5000, preserving current behavior).

Summary of changes:
 stand/boot/common/loader.8     |  8 +++++++-
 stand/boot/dloader/loader.conf |  3 +++
 sys/kern/subr_autoconf.c       | 13 +++++++++++--
 3 files changed, 21 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1da43b0a4a24287a623d58eb67bf3ab38fe71972


-- 
DragonFly BSD source repository


More information about the Commits mailing list