NetBSD/src UteFPhGsys/arch/arm/arm fusu.S, sys/arch/arm/arm32 pmap.c

   Only expose block_userspace_access on the kernels it's required for
   (assuming it still is).
VersionDeltaFile
1.446+19-5sys/arch/arm/arm32/pmap.c
1.9+7-1sys/arch/arm/arm/fusu.S
+26-62 files

NetBSD/src 5BeKaZZsys/dev/mvme mvmebus.c

   If BUS_DMA_24BIT is defined, clear it from the flags passed to
   _bus_dmamem_alloc_common(), since we've already constrained the
   allocation based on the window configured for the selected VME
   address space.
VersionDeltaFile
1.25+9-2sys/dev/mvme/mvmebus.c
+9-21 files

NetBSD/src 6muKgF2sys/dev/mvme mvmebus.h

   mvme68k_bus_dma_tag -> m68k_bus_dma_tag

   (forgot to commit this file in m68k bus_dma consolidation.)
VersionDeltaFile
1.5+2-2sys/dev/mvme/mvmebus.h
+2-21 files

NetBSD/src sDqlcKLdoc 3RDPARTY

   new openssh out
VersionDeltaFile
1.2179+3-3doc/3RDPARTY
+3-31 files

NetBSD/src V2ZPHuksys/dev/pci ld_virtio.c

   ld_virtio.c: work around a qemu bug

   qemu vhost-user-blk-server.c advertizes VIRTIO_BLK_F_SIZE_MAX
   with zero VIRTIO_BLK_CONFIG_SIZE_MAX. it doesn't make sense.

   references:
   https://github.com/qemu/qemu/blob/b6a7d06213e5d2f7d124d16418bc289c4a8a4b82/block/export/vhost-user-blk-server.c#L122
   https://github.com/qemu/qemu/blob/b6a7d06213e5d2f7d124d16418bc289c4a8a4b82/block/export/vhost-user-blk-server.c#L243
VersionDeltaFile
1.47+12-2sys/dev/pci/ld_virtio.c
+12-21 files

NetBSD/src PoXVA4rsys/arch/m68k/include frame.h, sys/arch/m68k/m68k m68k_syscall.c m68k_trap.c

   machine_userret -> userret
VersionDeltaFile
1.56+6-13sys/arch/m68k/m68k/m68k_syscall.c
1.9+3-8sys/arch/m68k/m68k/m68k_trap.c
1.40+3-1sys/arch/m68k/include/frame.h
+12-223 files

NetBSD/src pvu6jHqsys/arch/m68k/include bus_dma.h, sys/arch/m68k/m68k bus_dma.c

   Merge mvme68k and virt68k bus_dma into the common m68k bus_dma and
   remove their local copies.  Minor cleanup tweaks to other platforms
   that already use the common version.
VersionDeltaFile
1.42+246-143sys/arch/m68k/m68k/bus_dma.c
1.18+3-247sys/arch/mvme68k/include/bus_dma.h
1.15+27-11sys/arch/m68k/include/bus_dma.h
1.25+28-10sys/arch/mvme68k/dev/mainbus.c
1.11+10-1sys/arch/next68k/include/bus_dma.h
1.13+4-4sys/arch/mvme68k/mvme68k/bus_space.c
+318-4165 files not shown
+330-42811 files

NetBSD/src BD7NtoHdoc CHANGES-11.0, external/gpl2/groff/tmac mdoc.local

   Welcome to 11.0_RC3!
VersionDeltaFile
1.1.2.82+7-1doc/CHANGES-11.0
1.11.4.4+3-3external/gpl2/groff/tmac/mdoc.local
1.738.2.4+2-2sys/sys/param.h
+12-63 files

NetBSD/src aYjhYx2doc CHANGES-11.0

   Tickets #238 - #250
VersionDeltaFile
1.1.2.81+109-1doc/CHANGES-11.0
+109-11 files

NetBSD/src XecUPqDetc/etc.amd64 MAKEDEV.conf

   Pull up following revision(s) (requested by yamt in ticket #241):
        etc/etc.amd64/MAKEDEV.conf: revision 1.38
   amd64 MAKEDEV: create 8 nvme (nvme0-nvme7) by default
   why 8?
   - match ld, sd, wd
   - my machine has 6 of them
VersionDeltaFile
1.37.2.1+5-1etc/etc.amd64/MAKEDEV.conf
+5-11 files

NetBSD/src fYXzERYlib/libc/compat/arch/arm/gen compat_setjmp.S, tests/lib/libc/setjmp t_sigstack.c

   Pull up following revision(s) (requested by skrll in ticket #250):

        tests/lib/libc/setjmp/t_sigstack.c: revision 1.26
        lib/libc/compat/arch/arm/gen/compat_setjmp.S: revision 1.7

   arm: fix PR/57946 for compat

   Make longjmp restore stack first before restoring signal mask for
   arm/compat.

   arm is fixed.
VersionDeltaFile
1.5.10.2+28-15lib/libc/compat/arch/arm/gen/compat_setjmp.S
1.25.2.1+4-14tests/lib/libc/setjmp/t_sigstack.c
+32-292 files

NetBSD/src aGZKpqilib/libkvm kvm_proc.c

   Pull up following revision(s) (requested by yamt in ticket #249):

        lib/libkvm/kvm_proc.c: revision 1.102
        lib/libkvm/kvm_proc.c: revision 1.103
        lib/libkvm/kvm_proc.c: revision 1.104

   libkvm _kvm_ureadm: remove a redundant check

   libkvm _kvm_ureadm: fix anon address calculation
   this has been broken since the initial uvm support in 1998.

   libkvm _kvm_ureadm: fix an integer overflow
   this has been broken since the initial uvm supporT in 1998.
   I suppose it was rare to use >2GB swap in that era.
VersionDeltaFile
1.100.2.2+5-6lib/libkvm/kvm_proc.c
+5-61 files

NetBSD/src 5fQ2HQalib/libcurses addbytes.c refresh.c

   Pull up following revision(s) (requested by hgutch in ticket #248):

        lib/libcurses/addbytes.c: revision 1.71
        lib/libcurses/attributes.c: revision 1.37
        lib/libcurses/insdelln.c: revision 1.25
        lib/libcurses/add_wch.c: revision 1.11
        lib/libcurses/touchwin.c: revision 1.36
        lib/libcurses/refresh.c: revision 1.131

   libcurses: fix wrong NULL guard

   Move the NULL guard in _cursesi_waddbytes() out of #ifdef DEBUG .

   Delay initialization of all variables that require dereferencing pointers
   that might be NULL until after the NULL guards.  This is what KNF calls
   for anyway.

   Fixes PR lib/60153 .
VersionDeltaFile
1.70.2.1+10-4lib/libcurses/addbytes.c
1.129.2.2+8-6lib/libcurses/refresh.c
1.36.2.1+4-4lib/libcurses/attributes.c
1.24.2.1+4-3lib/libcurses/insdelln.c
1.10.2.1+4-3lib/libcurses/add_wch.c
1.35.2.1+3-3lib/libcurses/touchwin.c
+33-236 files

NetBSD/src dCHnOAQexternal/gpl3/gcc/dist/gcc genmatch.cc, tools/gcc gcc-version.mk

   Pull up following revision(s) (requested by mrg in ticket #247):

        external/gpl3/gcc.old/dist/gcc/genmatch.cc: revision 1.2
        (applied to external/gpl3/gcc/dist/gcc/genmatch.cc)
        tools/gcc/gcc-version.mk: revision 1.32 (via patch)

   genmatch.cc:  bring across several enhancements from mainline GCC.

   in my testing this reduces the size of the emitted "gimple-match.cc"
   by about 35%, reduces the code section sise about 15%, and reduces
   the compile time about 30%.  (this file is the largest single compile
   for all of GCC.)

   this makes it capable of compiling on vax and sparc again, it seems,
   where both were already capable for GCC 14 (which in addition to this
   set, splits the emitted file into 10 sub parts for compiling both
   separately and in parallel.)

   (this is part 1, part 2 will be about mergig the split of the output

    [25 lines not shown]
VersionDeltaFile
1.1.1.2.2.1+83-22external/gpl3/gcc/dist/gcc/genmatch.cc
1.28.2.2+2-2tools/gcc/gcc-version.mk
+85-242 files

NetBSD/src RiRhLUobin/sh expand.c

   Pull up following revision(s) (requested by kre in ticket #246):

        bin/sh/expand.c: revision 1.149 (partly, via patch)

   While here, fix another, identical land mine, that
   has been buried in the absolute wilderness for years.
   Someone would have stepped on it one day.

   Also fix a field splitting bug handling : or = in
   IFS when generated from ${var-string1:string2} type
   expansions.   This one is even older.
VersionDeltaFile
1.147.2.1+8-3bin/sh/expand.c
+8-31 files

NetBSD/src nMRFPkQexternal/gpl3/gcc/dist/gcc cfgexpand.cc

   Pull up following revision(s) (requested by yamt in ticket #245):

        external/gpl3/gcc.old/dist/gcc/cfgexpand.cc: revision 1.2
        (applied to external/gpl3/gcc/dist/gcc/cfgexpand.cc)

   PR/59994  gcc/m68k generates bad code for stack protector

   Record the alignment of the stack canary before allocating space for
   it in a stack frame.

   Generate an assignment expression to initialise the canary instead of
   emitting a move instruction.
VersionDeltaFile
1.4.2.1+25-13external/gpl3/gcc/dist/gcc/cfgexpand.cc
+25-131 files

NetBSD/src oblPb9Yexternal/cddl/osnet/dist/lib/libzfs/common libzfs_import.c, external/cddl/osnet/dist/uts/common/fs/zfs zfs_vnops.c zfs_vfsops.c

   Pull up following revision(s) (requested by yamt in ticket #244):

        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.31
        external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c: revision 1.9
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c: revision 1.35
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.32
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c: revision 1.36
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.33
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.82
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.34
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.83
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.35
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.84
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.85
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.86
        external/cddl/osnet/sys/sys/vnode.h: revision 1.22
        external/cddl/osnet/sys/kern/vfs.c: revision 1.10
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.87
        external/cddl/osnet/sys/sys/vnode.h: revision 1.23

    [412 lines not shown]
VersionDeltaFile
1.81.4.1+227-104external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
1.30.6.1+56-62external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c
1.7.6.1+54-10external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c
1.34.10.1+5-39external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c
1.6.16.1+36-8external/cddl/osnet/dist/uts/common/fs/zfs/zfs_rlock.c
1.14.2.1+18-18external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c
+396-2418 files not shown
+430-28414 files

NetBSD/src UKm0ejgsys/sys buf.h, sys/uvm uvm_swap.c uvm_pager.c

   Pull up following revision(s) (requested by yamt in ticket #243):

        sys/sys/buf.h: revision 1.136
        sys/uvm/uvm_swap.c: revision 1.220
        sys/uvm/uvm_swap.c: revision 1.221
        sys/uvm/uvm_swap.c: revision 1.222
        sys/uvm/uvm_pager.c: revision 1.133
        sys/uvm/uvm_swap.c: revision 1.224
        sys/uvm/uvm_pager.c: revision 1.134
        sys/uvm/uvm_swap.c: revision 1.225
        sys/uvm/uvm_pager.c: revision 1.135
        sys/uvm/uvm_swap.h: revision 1.30
        sys/uvm/uvm_swap.c: revision 1.226
        sys/uvm/uvm_swap.c: revision 1.227
        sys/uvm/uvm_swap.c: revision 1.228
        sys/uvm/uvm_swap.c: revision 1.229
        sys/uvm/uvm_swap.c: revision 1.216
        sys/uvm/uvm_swap.c: revision 1.217
        sys/uvm/uvm_swap.c: revision 1.219

    [95 lines not shown]
VersionDeltaFile
1.209.2.2+336-324sys/uvm/uvm_swap.c
1.131.4.1+57-20sys/uvm/uvm_pager.c
1.135.4.1+2-2sys/sys/buf.h
1.29.4.1+2-1sys/uvm/uvm_swap.h
+397-3474 files

NetBSD/src uRVoBsfsys/uvm uvm_swap.c uvm_pdaemon.c

   Pull up following revision(s) (requested by yamt in ticket #242):

        sys/uvm/uvm_pdaemon.c: revision 1.135
        sys/uvm/uvm_pdaemon.c: revision 1.137
        sys/uvm/uvm_pdaemon.c: revision 1.138
        sys/uvm/uvm_swap.c: revision 1.210

   Add more debugging.

   To help understand PR 56764 better.
   Ok riastradh@

   Disable a kassertmsg.
   This triggers for me quite reliably over years now, and has been
   tracked in PR 56764, with no resolution.

   It seems the asserted inequality just is not correct.
   uvmpd_scan_queue: remove ENABLE_UNRELIABLE_CHECK_PR_56764 block
   while this condition is true in most of times, we can't

    [8 lines not shown]
VersionDeltaFile
1.209.2.1+8-2sys/uvm/uvm_swap.c
1.134.8.1+2-3sys/uvm/uvm_pdaemon.c
+10-52 files

NetBSD/src T5kmqG7sys/dev/nvmm/x86 nvmm_x86_vmx.c

   Pull up following revision(s) (requested by yamt in ticket #240):

        sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.93

   nvmm_x86_vmx.c: fixes tprof stalls

   the current implementation of nvmm nmi handling is
   simple; just drops them. it interferes other nmi-using
   components in the system, including tprof.

   this commit makes nvmm try to dispatch nmis by itself.
   while this is imperfect, it's good enough to give
   tprof a chance to unmask LAPIC_LVT_PCINT.
   i guess svm VMCB_EXITCODE_NMI needs something similar.
   but i have no hardware. if someone wants to test a patch,
   please let me know.

   reproduce recipe:
   1. run "tprof top" in a terminal. leave it running.

    [2 lines not shown]
VersionDeltaFile
1.90.2.1+25-6sys/dev/nvmm/x86/nvmm_x86_vmx.c
+25-61 files

NetBSD/src sHyRlflsys/uvm uvm_mmap.c

   Pull up following revision(s) (requested by yamt in ticket #239):

        sys/uvm/uvm_mmap.c: revision 1.189

   sys_mincore: stop locking potentially huge amount of user memory

   the current implementation performs uvm_vslock() on the
   user-specified amount of memory. it isn't safe in general.
   some might even consider it as a security issue.

   this commit fixes it by splitting the user-specified range into
   small ones which a temporary kernel buffer can cover. it's ok to
   report potentially stale values as the mincore() api is inherently
   racy in the first place.

   while we still ought to invent a proper "lock user memory for
   direct i/o" infrastructue, in this particular use case, it isn't
   necessary or appropriate.
VersionDeltaFile
1.186.2.2+70-47sys/uvm/uvm_mmap.c
+70-471 files

NetBSD/src Nnerehxsys/uvm uvm_mmap.c

   Pull up following revision(s) (requested by yamt in ticket #238):

        sys/uvm/uvm_mmap.c: revision 1.188

   uvm_mmap.c: fix overflow check

   this is my best guess of the intention of the original code,
   where "*addr + *size < *addr" seems always false because "*size" is 0.
VersionDeltaFile
1.186.2.1+6-4sys/uvm/uvm_mmap.c
+6-41 files

NetBSD/src Ms6HXdKdoc CHANGES-11.0

   Tickets #210 - #236
VersionDeltaFile
1.1.2.80+196-1doc/CHANGES-11.0
+196-11 files

NetBSD/src XpOn2aksys/kern kern_time.c

   Pull up following revision(s) (requested by yamt in ticket #236):

        sys/kern/kern_time.c: revision 1.232

   make posix timer family functions reject itimer timer ids

   we provide two sets of similar apis:
   * BSD itimer api (setitimer, ITIMER_xxx, and friends)
   * posix timer api (timer_create and friends)

   for some reason, some of posix timer functions
   (namely timer_settime, timer_gettime, timer_getoverrun,
   timer_delete) are allowed to operate on timer_id=2,
   which actually belongs to the BSD itimer. (ITIMER_PROF)

   it seems that it has always been this way since they were
   introduced on the nathanw_sa branch in 2001.
   10 years later, in 2011, it got a bit worse by the addition
   of ITIMER_MONOTONIC, which is also accepted by the posix

    [5 lines not shown]
VersionDeltaFile
1.228.2.3+21-8sys/kern/kern_time.c
+21-81 files

NetBSD/src s1uN5JFlib/libkvm kvm_proc.c, sys/kern kern_proc.c

   Pull up following revision(s) (requested by yamt in ticket #235):

        sys/kern/kern_proc.c: revision 1.281
        lib/libkvm/kvm_proc.c: revision 1.101

   sysctl_doeproc: fix an argument check
   this commit fixes a regression in 2015, which made
   kvm_getprocs(KERN_PROC_ALL) always fail.
   ("implementation of KERN_PROC_PATHNAME, some refactoring for KERN_PROC.")

   libkvm: fix kvm_getargv/kvm_getenvv
   these functions always fail because of a regression in 2022.
   ("read the ps arguments from the correct place.")
   this commit restores them by adding a missing p_psstrp initialization.
VersionDeltaFile
1.280.2.1+8-3sys/kern/kern_proc.c
1.100.2.1+3-2lib/libkvm/kvm_proc.c
+11-52 files

NetBSD/src 081VthDsys/arch/x86/x86 tsc.c

   Pull up following revision(s) (requested by yamt in ticket #234):

        sys/arch/x86/x86/tsc.c: revision 1.64

   x86 tsc: decrease the timecounter quality for NVMM

   NVMM vcpu loses its TSC "ticks" when switching to a different host cpu.
   from the POV of the guest OS (ie. this code), it's observed as random
   TSC drifts, which makes it unsuitable for a timecounter source.
VersionDeltaFile
1.63.2.1+8-3sys/arch/x86/x86/tsc.c
+8-31 files

NetBSD/src Jvh4LAzsys/kern sched_4bsd.c

   Pull up following revision(s) (requested by yamt in ticket #233):

        sys/kern/sched_4bsd.c: revision 1.48

   sched_4bsd.c: honor the upper bound of l_estcpu

   otherwise, certain threaded workloads can quickly
   accumulate too large l_estcpu.

   this change fixes mysterious long (eg 10 seconds) pauses
   i've seen occasionally with git. git seems to spawn worker
   threads internally these days and happens to hit the condition
   of this bug. with very large l_estcpu, the lwp gets effective
   priority 0 for a long time. on a busy system, such an lwp
   basically will never get a chance to run until the estcpu decay
   will eventually make it possible to run again.

   it seems this bug has been there since 2007.
   ("Merge scheduler changes from the vmlocking branch")

    [3 lines not shown]
VersionDeltaFile
1.47.2.1+3-3sys/kern/sched_4bsd.c
+3-31 files

NetBSD/src n9FuQPcshare/misc acronyms

   WDYM WWYD
VersionDeltaFile
1.324+3-1share/misc/acronyms
+3-11 files

NetBSD/src 1lDTdCisys/dev/acpi apei_hest.c

   Pull up following revision(s) (requested by yamt in ticket #232):

        sys/dev/acpi/apei_hest.c: revision 1.8

   apei_hest: fix a zero-sized kmem_zalloc issue
   zero-sized kmem_zalloc is illigal.

   this fixes a crash seen on HP Z4 G4.

   when installing netbsd 10.1 on the machine, i had to
   work this around by "userconf disable apei" and
   ```
   userconf=disable apei*
   ```
   in boot.cfg.
   "acpidump -dt" on the machine said:
   ```
   Error Source Count=0
   ```

    [14 lines not shown]
VersionDeltaFile
1.7.2.1+6-4sys/dev/acpi/apei_hest.c
+6-41 files

NetBSD/src gJx1LMtlib/libc/gen readdir.c

   Don't try to preserve errno twice for readdir_r(), even outside
   the mutex protection in the _REENTRANT case.
VersionDeltaFile
1.28+2-11lib/libc/gen/readdir.c
+2-111 files