Re: git: 7749de244014 - main - Add new kern.vt.slow_down tunable.

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sat, 23 Nov 2024 17:35:30 UTC
On Nov 23, 2024, at 08:18, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

> --------
> Mark Millard writes:
> 
>>> +When debugging the kernel on modern laptops, the screen is often
>>> +the only available console, and relevant information will scroll
>>> +out of view before it can be captured by eye or camera.
>>> +.Pp
>>> +Setting
>>> +.Va kern.vt.slow_down
>>> +to a non-zero number
>> 
>> Seems to not be true in the code for: less than 0.
>> […]
>> I see in sys/dev/vt/vt.h :
>> 
>> #define VT_SYSCTL_INT(_name, _default, _descr)
> 
> I didn't want to add a VT_SYSCTL_UNSIGNED macro just for this.

Sounds to me like the wording should be in terms of
0 vs. positive numbers: both accurate to the existing
behavior and invariant to such potential changes
--and that the code is doing what you intended. No
claims made about negative numbers, so no false claims
made.

===
Mark Millard
marklmi at yahoo.com