Re: Selecting the scheduler from boot menu

From: Warner Losh <imp_at_bsdimp.com>
Date: Sun, 01 Feb 2026 18:35:38 UTC
On Sun, Feb 1, 2026, 7:11 AM Shawn Webb <shawn.webb@hardenedbsd.org> wrote:

> On Sun, Feb 01, 2026 at 10:56:45AM +0100, Olivier Certner wrote:
> > Hi Steve,
> >
> > > Yes, it is a convenience to have menu item.  Dropping to the
> > > loader prompt is possible.  Taking it to a logical extreme,
> > > let's retire the menu because everything can be set at the
> > > loader prompt
> >
> > Space in the menu is limited, so I don't think we should necessarily add
> every possible tweak there, especially if it's not to be used a lot.
> >
> > > Well, if developers would like to see testing under
> > > different loading situations, then make it easier to
> > > switch from one scheduler to the other.
> >
> > Developers certainly don't need that, it's easy enough to type 'set
> kern.sched.name=4BSD' at the loader's prompt.
> >
> > And if you want to use 4BSD by default, it's also easy enough to put the
> relevant line in 'loader.conf'.
>
> I wonder if there are other approaches to take. For example, perhaps
> an "Advanced" submenu could be created. The new scheduler picker could
> go there.
>

There's plenty of room there, so that's where I'll place it. We likely
should have even a few more items here and reevaluate safe mode settings
every major release.

Warner


I'm not saying to do that, just plopping an idea out there.
>
> --
> Shawn Webb
> Cofounder / Security Engineer
> HardenedBSD
>
> Signal Username:  shawn_webb.74
> Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50
>
> https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc
>