Date: Sat, 23 Nov 2024 09:35:30 -0800 From: Mark Millard <marklmi@yahoo.com> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: dev-commits-src-main@freebsd.org Subject: Re: git: 7749de244014 - main - Add new kern.vt.slow_down tunable. Message-ID: <0A91BA56-075F-4466-9E6A-4F834D68B33D@yahoo.com> In-Reply-To: <202411231618.4ANGICqq072859@critter.freebsd.dk> References: <037444AA-53A8-4B28-8568-3E0046C1E251.ref@yahoo.com> <037444AA-53A8-4B28-8568-3E0046C1E251@yahoo.com> <202411231618.4ANGICqq072859@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 23, 2024, at 08:18, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote: > -------- > Mark Millard writes: >=20 >>> +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 >>=20 >> Seems to not be true in the code for: less than 0. >> [=E2=80=A6] >> I see in sys/dev/vt/vt.h : >>=20 >> #define VT_SYSCTL_INT(_name, _default, _descr) >=20 > 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. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0A91BA56-075F-4466-9E6A-4F834D68B33D>