svn commit: r351918 - head/sys/kern

Eugene Grosbein eugen at grosbein.net
Tue Sep 10 00:38:52 UTC 2019


10.09.2019 2:49, Warner Losh wrote:

> Would your needs be adequately covered by the current mechanisms to set HZ?
> This just covers the defaults for the whole platform.
> As always, these can be overridden in the boot loader or kernel config file...

Several years ago I experimented with FreeBSD/MIPS32 using some real hardware
that was both slow and had very small integrated flash, 8MB in total and
128KB for local configuration changes (template overrides).

It used compressed root file system and standard /etc/rc.initdiskless script
and its /conf/T/M/extract schema to extract local config overrides from the NVRAM
very early at startup (called from /etc/rc), before /etc/rc.conf is read
and before rcNG starts.

Still, it's too late to change kern.hz currently. And that hardware used
MIPS32 U-Boot and system had no /boot/loader at all.

Maybe we could enable changing kern.hz for single user mode early at startup?



More information about the svn-src-head mailing list