Home
last modified time | relevance | path

Searched hist:fa4a2394a76aadd0702ff5b7eeb7387b678b34a8 (Results 1 – 2 of 2) sorted by relevance

/freebsd/stand/lua/
H A Dcore.luadiff fa4a2394a76aadd0702ff5b7eeb7387b678b34a8 Mon Feb 19 15:21:56 CET 2018 Kyle Evans <kevans@FreeBSD.org> stand/lua: Defer kernel/module loading until boot or menu escape

Loading the kernel and modules can be really slow. Loading before the menu
draws and every time one changes kernel/boot environment is even more
painful.

Defer loading until we either boot, auto-boot, or escape to loader prompt.
We still need to deal with configuration changes as the boot environment
changes, but this is generally much quicker.

This commit strips all ELF loading out of config.load/config.reload so that
these are purely for configuration. config.loadelf has been created to deal
with kernel/module loads. Unloading logic has been ripped out, as we won't
need to deal with it in the menu anymore.

Discussed in part with: allanjude
H A Dmenu.luadiff fa4a2394a76aadd0702ff5b7eeb7387b678b34a8 Mon Feb 19 15:21:56 CET 2018 Kyle Evans <kevans@FreeBSD.org> stand/lua: Defer kernel/module loading until boot or menu escape

Loading the kernel and modules can be really slow. Loading before the menu
draws and every time one changes kernel/boot environment is even more
painful.

Defer loading until we either boot, auto-boot, or escape to loader prompt.
We still need to deal with configuration changes as the boot environment
changes, but this is generally much quicker.

This commit strips all ELF loading out of config.load/config.reload so that
these are purely for configuration. config.loadelf has been created to deal
with kernel/module loads. Unloading logic has been ripped out, as we won't
need to deal with it in the menu anymore.

Discussed in part with: allanjude