Searched hist:"35 b0c718d312ae8067c598910886553c5b4da02a" (Results 1 – 1 of 1) sorted by relevance
/freebsd/stand/lua/ |
H A D | core.lua | diff 35b0c718d312ae8067c598910886553c5b4da02a Fri Mar 09 20:04:06 CET 2018 Kyle Evans <kevans@FreeBSD.org> lualoader: Cache kernel list
With autodetection turned on, hitting the filesystem everytime we need to calculate choices for the kernel carousel is kind of slow. Cache once on the first listing and reload it anytime the config is reloaded in case any of the loader.conf(5) changes that affect this (kernel, kernels, kernels_autodetect) have changed. This also picks up the case where we've changed currdev and the autodetected kernels could change.
|