OpenBSD cvs log

created 2023-07-08T18:24:21Z
begin 2023-07-02T00:00:00Z
end 2023-07-03T00:00:00Z
path src/sys
commits 6

date 2023-07-02T00:55:18Z
author cheloha
files src/sys/kern/kern_clockintr.c log diff annotate
message clockintr_cpu_init: stagger clock interrupts by MAXCPUS

During clockintr_cpu_init(), we can't stagger by ncpus because not
every platform has fully incremented it yet. Instead, stagger by
MAXCPUS. The resulting intervals are smaller, but are probably still
sufficiently large to avoid aggravating lock contention, even on
platforms where MAXCPUS is large.

While here, don't bother staggering the statclock if it is randomized.

With input from claudio@.

date 2023-07-02T11:16:03Z
author deraadt
files src/sys/kern/kern_fork.c log diff annotate
message PS_CHROOT flag must also be copied when forking. This will block
a ypconnect(2) from reading inside an incorrectly configured space.
ok kettenis

date 2023-07-02T19:02:27Z
author cheloha
files src/sys/arch/alpha/include/_types.h log diff annotate
src/sys/arch/amd64/include/_types.h log diff annotate
src/sys/arch/arm/include/_types.h log diff annotate
src/sys/arch/arm64/include/_types.h log diff annotate
src/sys/arch/hppa/include/_types.h log diff annotate
src/sys/arch/i386/i386/apm.c log diff annotate
src/sys/arch/i386/include/_types.h log diff annotate
src/sys/ddb/db_command.c log diff annotate
src/sys/ddb/db_interface.h log diff annotate
src/sys/kern/kern_clockintr.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/subr_suspend.c log diff annotate
message all platforms, kernel: remove __HAVE_CLOCKINTR symbol

Every platform made the clockintr switch at least six months ago.
The __HAVE_CLOCKINTR symbol is now redundant. Remove it.

Prompted by claudio@.

Link: https://marc.info/?l=openbsd-tech&m=168826181015032&w=2

"makes sense" mlarkin@

date 2023-07-02T19:02:28Z
author cheloha
files src/sys/arch/loongson/dev/apm.c log diff annotate
src/sys/arch/m88k/include/_types.h log diff annotate
src/sys/arch/mips64/include/_types.h log diff annotate
src/sys/arch/powerpc/include/_types.h log diff annotate
src/sys/arch/powerpc64/include/_types.h log diff annotate
src/sys/arch/riscv64/include/_types.h log diff annotate
src/sys/arch/sh/include/_types.h log diff annotate
src/sys/arch/sparc64/include/_types.h log diff annotate
message all platforms, kernel: remove __HAVE_CLOCKINTR symbol

Every platform made the clockintr switch at least six months ago.
The __HAVE_CLOCKINTR symbol is now redundant. Remove it.

Prompted by claudio@.

Link: https://marc.info/?l=openbsd-tech&m=168826181015032&w=2

"makes sense" mlarkin@

date 2023-07-02T19:59:15Z
author bluhm
files src/sys/net/if.c log diff annotate
src/sys/net/if_loop.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
message Use TSO and LRO on the loopback interface to transfer TCP faster.

If tcplro is activated on lo(4), ignore the MTU with TCP packets.
They are passed along with the information that they have to be
chopped in case they are forwarded later. New netstat(1) counter
shows that software LRO is in effect. The feature is currently
turned off by default.

tested by jan@; OK claudio@ jan@

date 2023-07-02T21:44:04Z
author bru
files src/sys/arch/arm64/dev/aplhidev.c log diff annotate
src/sys/dev/usb/ubcmtp.c log diff annotate
src/sys/dev/wscons/wsconsio.h log diff annotate
src/sys/dev/wscons/wstpad.c log diff annotate
message Add button mappings for two- and three-finger clicks on clickpads.

Based on a proposal of tobhe@.

ok tobhe@