CVS commit: src/usr.bin/units

2022-10-23 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Oct 24 05:52:48 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: Some more corrections/additions in units.lib: 1. cables; US cables are 720 ft, but international cables are 1/10 nautical mile and UK Admira

CVS commit: src/usr.bin/units

2022-10-23 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Oct 24 05:52:48 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: Some more corrections/additions in units.lib: 1. cables; US cables are 720 ft, but international cables are 1/10 nautical mile and UK Admira

CVS commit: src/usr.bin/units

2022-10-23 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Oct 24 05:04:51 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: units.lib: fix "surveyfoot" and kill off "british". The US survey foot is defined as 1200/3937 of a meter, whereas the ordinary internationa

CVS commit: src/usr.bin/units

2022-10-23 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Oct 24 05:04:51 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: units.lib: fix "surveyfoot" and kill off "british". The US survey foot is defined as 1200/3937 of a meter, whereas the ordinary internationa

Re: CVS commit: src/lib/libc/time

2022-10-23 Thread Warner Losh
On Sun, Oct 23, 2022 at 11:00 AM Taylor R Campbell < campbell+netbsd-source-change...@mumble.net> wrote: > > Date: Sun, 23 Oct 2022 07:39:25 -0600 > > From: Warner Losh > > > > I guess a more accurate way of saying this is that leap seconds simply > > aren't reliable, cannot be made reliable, and

CVS commit: src/usr.bin/units

2022-10-23 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Oct 24 04:55:19 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: Reorganize units.lib. It's all very well to file miscellaneous old units under "trivia" but it's more useful to sort first by type and then

CVS commit: src/usr.bin/units

2022-10-23 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Oct 24 04:55:19 UTC 2022 Modified Files: src/usr.bin/units: units.lib Log Message: Reorganize units.lib. It's all very well to file miscellaneous old units under "trivia" but it's more useful to sort first by type and then

CVS commit: src

2022-10-23 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Oct 24 01:54:19 UTC 2022 Modified Files: src/share/man/man7: sysctl.7 src/sys/netinet6: in6.c in6_proto.c ip6_input.c ip6_var.h Log Message: Fix PR kern/57037 Be able to change the behavior sending parameter changi

CVS commit: src

2022-10-23 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Oct 24 01:54:19 UTC 2022 Modified Files: src/share/man/man7: sysctl.7 src/sys/netinet6: in6.c in6_proto.c ip6_input.c ip6_var.h Log Message: Fix PR kern/57037 Be able to change the behavior sending parameter changi

CVS commit: src/usr.bin/vmstat

2022-10-23 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Oct 23 23:30:31 UTC 2022 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: Remove extraneous "d" in a printf format string in UVM history dump (leftover int format specifier from conversion to FMTd32?). To generate a

CVS commit: src/usr.bin/vmstat

2022-10-23 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Oct 23 23:30:31 UTC 2022 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: Remove extraneous "d" in a printf format string in UVM history dump (leftover int format specifier from conversion to FMTd32?). To generate a

CVS commit: src/sys/dev

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 23:03:30 UTC 2022 Modified Files: src/sys/dev: midi.c Log Message: midi(4): No need to take lock just for callout_halt. Lock is relevant only if we're doing something _else_ under the lock that must be serialized wi

CVS commit: src/sys/dev

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 23:03:30 UTC 2022 Modified Files: src/sys/dev: midi.c Log Message: midi(4): No need to take lock just for callout_halt. Lock is relevant only if we're doing something _else_ under the lock that must be serialized wi

CVS commit: src/sys/dev

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 23:03:13 UTC 2022 Modified Files: src/sys/dev: midi.c Log Message: midi(4): Explain what's about to happen when refcnt drain fails. This should really be an unconditional cv_wait loop, but for now let's just give fa

CVS commit: src/sys/dev

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 23:03:13 UTC 2022 Modified Files: src/sys/dev: midi.c Log Message: midi(4): Explain what's about to happen when refcnt drain fails. This should really be an unconditional cv_wait loop, but for now let's just give fa

CVS commit: src/sys/dev

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 23:02:50 UTC 2022 Modified Files: src/sys/dev: midi.c Log Message: midi(4): Wake waiters _before_ waiting for them. Otherwise we may deadlock waiting for them to give up while they're waiting for I/O, not knowing th

CVS commit: src/sys/dev

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 23:02:50 UTC 2022 Modified Files: src/sys/dev: midi.c Log Message: midi(4): Wake waiters _before_ waiting for them. Otherwise we may deadlock waiting for them to give up while they're waiting for I/O, not knowing th

Re: CVS commit: src/lib/libc/time

2022-10-23 Thread Taylor R Campbell
> Date: Sun, 23 Oct 2022 12:19:37 -0600 > From: Warner Losh > > You must have a table of all past > leap seconds to do any kind of sensible mapping. And you also must > have some way to keep that up to date, [...] It's the same for all civil calendar matters

Re: CVS commit: src/lib/libc/time

2022-10-23 Thread Jan Schaumann
Robert Elz wrote: > Date:Sat, 22 Oct 2022 13:42:54 -0400 > From:Jan Schaumann > Message-ID: > > | A full set of examples strikes me as too much here > > A full set would be yes, but I think we could handle 3. Hmm, maybe something like this? ...and will be

Re: CVS commit: src/lib/libc/time

2022-10-23 Thread Taylor R Campbell
> Date: Sun, 23 Oct 2022 07:39:25 -0600 > From: Warner Losh > > I guess a more accurate way of saying this is that leap seconds simply > aren't reliable, cannot be made reliable, and this affects normalization > in ways too numerous to mention due to the details of the tz files, bugs > in the sys

Re: CVS commit: src/lib/libc/time

2022-10-23 Thread Warner Losh
On Sat, Oct 22, 2022 at 10:55 PM Robert Elz wrote: > Date:Sat, 22 Oct 2022 20:17:57 -0600 > From:Warner Losh > Message-ID: < > canczdfqhkz0xs7lf6lmjveontc5dgsonons_ug6fzsf30og...@mail.gmail.com> > > > | On the other hand, adding a caveat that leap seconds don't exi

Re: CVS commit: src/lib/libc/time

2022-10-23 Thread Warner Losh
On Sat, Oct 22, 2022, 8:05 PM Robert Elz wrote: > Date:Sat, 22 Oct 2022 13:42:54 -0400 > From:Jan Schaumann > Message-ID: > > | A full set of examples strikes me as too much here > > A full set would be yes, but I think we could handle 3. > They don't need to be C

CVS commit: src

2022-10-23 Thread Jan Schaumann
Module Name:src Committed By: jschauma Date: Sun Oct 23 15:43:40 UTC 2022 Modified Files: src/include: time.h src/share/man/man3: tm.3 Log Message: correct tm_sec range to be [0-60] The previous range introduced in time.h rev1.14 was supposed to account for a myst

CVS commit: src

2022-10-23 Thread Jan Schaumann
Module Name:src Committed By: jschauma Date: Sun Oct 23 15:43:40 UTC 2022 Modified Files: src/include: time.h src/share/man/man3: tm.3 Log Message: correct tm_sec range to be [0-60] The previous range introduced in time.h rev1.14 was supposed to account for a myst

CVS commit: src/sys/dev/usb

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 11:06:37 UTC 2022 Modified Files: src/sys/dev/usb: ugen.c Log Message: ugen(4): Make sure opened is initialized in ugenopen. Otherwise the error branch is based on garbage. To generate a diff of this commit: cvs r

CVS commit: src/sys/dev/usb

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 11:06:37 UTC 2022 Modified Files: src/sys/dev/usb: ugen.c Log Message: ugen(4): Make sure opened is initialized in ugenopen. Otherwise the error branch is based on garbage. To generate a diff of this commit: cvs r

CVS commit: src/sys/sys

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 08:38:21 UTC 2022 Modified Files: src/sys/sys: workqueue.h Log Message: sys/workqueue.h: Need sys/types.h for pri_t. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/sys/workqueue.h Please not

CVS commit: src/sys/sys

2022-10-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Oct 23 08:38:21 UTC 2022 Modified Files: src/sys/sys: workqueue.h Log Message: sys/workqueue.h: Need sys/types.h for pri_t. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/sys/workqueue.h Please not

CVS commit: src/sys/arch/aarch64/aarch64

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:14:12 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: db_interface.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/aarch64/aarch64/db_interface.c Please note tha

CVS commit: src/sys/arch/aarch64/aarch64

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:14:12 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: db_interface.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/aarch64/aarch64/db_interface.c Please note tha

CVS commit: src/sys/arch/aarch64/include

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:13:07 UTC 2022 Modified Files: src/sys/arch/aarch64/include: pmap.h Log Message: KNF. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/aarch64/include/pmap.h Please note that diffs are not

CVS commit: src/sys/arch/aarch64/include

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:13:07 UTC 2022 Modified Files: src/sys/arch/aarch64/include: pmap.h Log Message: KNF. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/aarch64/include/pmap.h Please note that diffs are not

CVS commit: src/sys/arch/aarch64/include

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:11:27 UTC 2022 Modified Files: src/sys/arch/aarch64/include: pmap.h Log Message: Line continuation alignment whitespace. NFC. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/aarch64/includ

CVS commit: src/sys/arch/aarch64/include

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:11:27 UTC 2022 Modified Files: src/sys/arch/aarch64/include: pmap.h Log Message: Line continuation alignment whitespace. NFC. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/aarch64/includ

CVS commit: src/sys/arch/aarch64/aarch64

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:04:44 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Use UVMHIST_CALLARGS in pmap_bootstrap To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/arch/aarch64/aarch64/pm

CVS commit: src/sys/arch/aarch64/aarch64

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:04:44 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Use UVMHIST_CALLARGS in pmap_bootstrap To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/arch/aarch64/aarch64/pm

CVS commit: src/sys/arch/aarch64/aarch64

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:02:27 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Only define the EFI variable if EFI_RUNTIME To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/sys/arch/aarch64/aarch

CVS commit: src/sys/arch/aarch64/aarch64

2022-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 23 07:02:27 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Only define the EFI variable if EFI_RUNTIME To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/sys/arch/aarch64/aarch