From nobody Sat Nov 23 16:18:12 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xwcb13X9Zz5dVHS for ; Sat, 23 Nov 2024 16:18:21 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xwcb10sJrz4Nfs for ; Sat, 23 Nov 2024 16:18:20 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 6D49589286; Sat, 23 Nov 2024 16:18:13 +0000 (UTC) Received: (from phk@localhost) by critter.freebsd.dk (8.18.1/8.16.1/Submit) id 4ANGICqq072859; Sat, 23 Nov 2024 16:18:12 GMT (envelope-from phk) Message-Id: <202411231618.4ANGICqq072859@critter.freebsd.dk> To: Mark Millard cc: dev-commits-src-main@freebsd.org Subject: Re: git: 7749de244014 - main - Add new kern.vt.slow_down tunable. In-reply-to: <037444AA-53A8-4B28-8568-3E0046C1E251@yahoo.com> From: "Poul-Henning Kamp" References: <037444AA-53A8-4B28-8568-3E0046C1E251.ref@yahoo.com> <037444AA-53A8-4B28-8568-3E0046C1E251@yahoo.com> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <72857.1732378692.1@critter.freebsd.dk> Content-Transfer-Encoding: 8bit Date: Sat, 23 Nov 2024 16:18:12 +0000 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU] X-Rspamd-Queue-Id: 4Xwcb10sJrz4Nfs X-Spamd-Bar: ---- -------- 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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.