NetBSD/src ibiDVQM — sys/arch/sparc64/dev ebus_mainbus.c

   Remove the (duplicate) pyro interrupt setup and call the pyro code
   directly.
VersionDeltaFile
1.24+9-45sys/arch/sparc64/dev/ebus_mainbus.c
+9-451 files

NetBSD/src et9DzIk — sys/arch/sparc64/dev fire_i2c.c

   Add interrupt support for firei2c.  Interrupt setup is done by calling
   into the appropriate pyro leaf.
VersionDeltaFile
1.5+439-91sys/arch/sparc64/dev/fire_i2c.c
+439-911 files

NetBSD/src DLtweat — sys/arch/sparc64/dev pyrovar.h pyro.c

   Split pyro_intr_establish() into a stub which locates the softc
   from the pdb (used by pyro routines) and pyro_intr_establish_sc()
   which does the work.
   In pyro_softc, save a pointer to our pyro_intr_establish_sc().

   This allows us to call the correct pyro_intr_establish_sc() from devices
   that use pyro interrupts but are not (pci) children of pyro, i.e.
   ebus @ mainbus and firei2c*.
VersionDeltaFile
1.27+19-2sys/arch/sparc64/dev/pyro.c
1.4+2-0sys/arch/sparc64/dev/pyrovar.h
+21-22 files

NetBSD/src 2jOFzsZ — sys/arch README

   Add an RISC-V entry.
VersionDeltaFile
1.68+2-1sys/arch/README
+2-11 files

NetBSD/src GlaHZSd — sys/kern uipc_syscalls.c, sys/sys socketvar.h

   kern: Nix SS_ISABORTING.

   This was a vestige of an earlier revision of the .fo_restart
   mechanism; it is never set by anything in the kernel, it has been
   supplanted by SS_RESTARTSYS, and it serves no further purpose.
VersionDeltaFile
1.217+2-7sys/kern/uipc_syscalls.c
1.172+2-2sys/sys/socketvar.h
+4-92 files

NetBSD/src 20lNrtR — sys/kern uipc_syscalls.c, tests/kernel t_fdrestart.c

   connect(2): Fix wakeup if the fd is concurrently closed.

   PR kern/57659: closing pipe writefd fails to wake concurrent write on
   same writefd
VersionDeltaFile
1.216+14-4sys/kern/uipc_syscalls.c
1.9+2-5tests/kernel/t_fdrestart.c
+16-92 files

NetBSD/src NAOiXKa — tests/kernel t_fdrestart.c

   t_fdrestart: Test socket connect and accept too.

   The logic for connect, it turns out, is missing .fo_restart tests.

   PR kern/57659: closing pipe writefd fails to wake concurrent write on
   same writefd
VersionDeltaFile
1.8+115-2tests/kernel/t_fdrestart.c
+115-21 files

NetBSD/src OAhWF2m — tests/lib/libc/sys t_sigio.c

   t_sigio: Set SA_SIGINFO|SA_RESTART as originally intended.

   Lost this in a round of refactoring, and it just kinda worked by
   accident, oops!

   PR kern/59056: poll POLLHUP bugs
   PR kern/60782: SIGIO says socket ready for send before send does
   PR kern/60783: tty: missing siginfo_t in SIGIO
   PR kern/60784: pty doesn't deliver SIGIO when writable
   PR kern/60785: fifo delivers SIGIO with wrong si_fd
VersionDeltaFile
1.2+3-2tests/lib/libc/sys/t_sigio.c
+3-21 files

NetBSD/src dr9exrB — external/bsd/jemalloc/include/jemalloc jemalloc.h

   Bring our namespace, clang, and LP64 changes
VersionDeltaFile
1.14+41-5external/bsd/jemalloc/include/jemalloc/jemalloc.h
+41-51 files

NetBSD/src 8PLLwy6 — distrib/sets/lists/debug mi, distrib/sets/lists/tests mi

   t_sigio: New test of various SIGIO cases.

   PR kern/59056: poll POLLHUP bugs
   PR kern/60782: SIGIO says socket ready for send before send does
   PR kern/60783: tty: missing siginfo_t in SIGIO
   PR kern/60784: pty doesn't deliver SIGIO when writable
   PR kern/60785: fifo delivers SIGIO with wrong si_fd
VersionDeltaFile
1.1+2,107-0tests/lib/libc/sys/t_sigio.c
1.81+3-1tests/lib/libc/sys/Makefile
1.1431+2-1distrib/sets/lists/tests/mi
1.520+2-1distrib/sets/lists/debug/mi
+2,114-34 files

NetBSD/src fnuhwBN — sys/net/npf npf_ext_route.c

   improve routing code in NPF

   duplicate packet and end copy of the packet and locally manage original.
   return false always to keep it in procedures returns.
VersionDeltaFile
1.12+32-27sys/net/npf/npf_ext_route.c
+32-271 files

NetBSD/src BU3KKOz — lib/libpthread pthread.h

   restore original decls
VersionDeltaFile
1.48+3-0lib/libpthread/pthread.h
+3-01 files

NetBSD/src eqYFGRH — external/bsd/jemalloc/dist/src pages.c arena.c, external/bsd/jemalloc/include/jemalloc/internal private_namespace.h

   Merge changes between jemalloc-5.3.1 and jemalloc-5.4.0
VersionDeltaFile
1.5+1,592-1,232external/bsd/jemalloc/dist/src/stats.c
1.7+1,028-1,248external/bsd/jemalloc/dist/src/ctl.c
1.17+177-1,542external/bsd/jemalloc/dist/src/jemalloc.c
1.6+157-454external/bsd/jemalloc/dist/src/arena.c
1.2+489-114external/bsd/jemalloc/include/jemalloc/internal/private_namespace.h
1.10+39-488external/bsd/jemalloc/dist/src/pages.c
+3,482-5,078289 files not shown
+5,027-6,879295 files

NetBSD/src ZjsYDVs — sys/arch/sparc64/sparc64 kgdb_machdep.c

   Unbreak build when KGDB is defined.

   Add extern reference to kernel_pmap_

   Remove mutex calls since no mutex is present in the pmap struct,
   since pseg_get() has its own internal locking logic.
VersionDeltaFile
1.16+6-5sys/arch/sparc64/sparc64/kgdb_machdep.c
+6-51 files

NetBSD/src GeR2ar6 — external/bsd/jemalloc/dist configure, external/bsd/jemalloc/dist/src jemalloc.c ctl.c

   Import jemalloc 5.4.0 (previous was 5.3.1)

   * 5.4.0 (Sep 17, 2026)

   This release contains over 160 commits, focusing on the technical debts
   cleaning including refactorings, bug fixes, test coverage improvement, and
   option cleanups.  The release also includes portability improvements per
   upstream issues report.

   New features:
     - Add `EXTENT_ALLOC_FLAG_PINNED` so custom extent-allocation hooks can
       mark non-reclaimable mappings, such as HugeTLB pages, for preferential
       reuse outside the decay and purge pipeline.  Add the mallctl interfaces
       `stats.pinned`, `stats.arenas.<i>.pinned`,
       `stats.arenas.<i>.extents.<j>.npinned`,
       `stats.arenas.<i>.extents.<j>.pinned_bytes`, and
       `stats.arenas.<i>.mutexes.extents_pinned.{counter}` to report
       pinned-memory usage and mutex statistics.  (@binliu19: be2de8cc)
     - Allow resuming per-CPU arena selection via `thread.arena`.

    [86 lines not shown]
VersionDeltaFile
1.1.1.4+5,187-3,793external/bsd/jemalloc/dist/configure
1.1.1.4+1,595-1,235external/bsd/jemalloc/dist/src/stats.c
1.1.1.4+1,067-1,288external/bsd/jemalloc/dist/src/ctl.c
1.1.1.4+183-1,517external/bsd/jemalloc/dist/src/jemalloc.c
1.1.1.2+1,273-380external/bsd/jemalloc/dist/test/unit/json_stats.c
1.1.1.4+949-87external/bsd/jemalloc/dist/test/unit/mallctl.c
+10,254-8,300385 files not shown
+26,943-12,540391 files

NetBSD/src uEZHf9I — lib/libc/thread-stub thread-stub.c

   Add more libc pthread stubs needed by jemalloc-5.4.0
VersionDeltaFile
1.37+36-2lib/libc/thread-stub/thread-stub.c
+36-21 files

NetBSD/src Rlq5tiN — lib/libpthread pthread_mi.expsym pthread_cond.c

   Add more libc stubs that are needed by jemalloc-5.4.0
VersionDeltaFile
1.47+9-4lib/libpthread/pthread.h
1.80+6-2lib/libpthread/pthread_cond.c
1.7+3-0lib/libpthread/pthread_mi.expsym
+18-63 files

NetBSD/src m5WfVkG — sys/dev/ic com.c

   Unbreak build when KGDB is defined
VersionDeltaFile
1.391+7-3sys/dev/ic/com.c
+7-31 files

NetBSD/src IGzYVSK — sys/arch/mips/include intr.h, sys/arch/mips/mips mips_fixup.c

   mips: tag all the stub functions as __noubsan

   When built with UBSAN the stub functions change to the point that the
   mips_fixup_addr code doesn't understand the instructions involved.
   Apply __nousbsan to avoid this.

   PR//60779: Kernel complains about unexpected mips insn on boot...
VersionDeltaFile
1.30+24-23sys/arch/mips/mips/mips_fixup.c
1.14+16-16sys/arch/mips/include/intr.h
+40-392 files

NetBSD/src cKmJAAc — sys/arch/mips/mips mips_fixup.c

   Fix previous and make it less ugly in the process

   PR/60780 (UBSan complains about left-shifting outside of int type range)
VersionDeltaFile
1.29+3-3sys/arch/mips/mips/mips_fixup.c
+3-31 files

NetBSD/src wvtTTsg — tests/lib/libc/atomic t___sync_compare_and_swap.c

   t___sync_compare_and_swap: Check both signednesses of everything.

   PR 60773: sh3 __sync_val_compare_and_swap_1 test failures
VersionDeltaFile
1.6+85-51tests/lib/libc/atomic/t___sync_compare_and_swap.c
+85-511 files

NetBSD/src rwvgLbt — sys/arch/mips/mips mips_fixup.c

   mips: address some UB in mips_fixup.c (part 2)

   PR/60780 (UBSan complains about left-shifting outside of int type range)
VersionDeltaFile
1.28+3-3sys/arch/mips/mips/mips_fixup.c
+3-31 files

NetBSD/src pXgxjEX — sys/arch/mips/mips mips_fixup.c

   mips: address some UB in mips_fixup.c (part 1)

   PR/60780 (UBSan complains about left-shifting outside of int type range)
VersionDeltaFile
1.27+5-5sys/arch/mips/mips/mips_fixup.c
+5-51 files

NetBSD/src FTdIpqk — sys/ufs/lfs lfs_alloc.c

   Free the memory allocated, not the memory filled.  Fixes a kmem_free panic
   in lfs_free_orphans(), if orphans are present at fs mount time.
VersionDeltaFile
1.157+3-3sys/ufs/lfs/lfs_alloc.c
+3-31 files

NetBSD/src UNveQSW — sys/ufs/lfs lfs_vfsops.c

   Add one more instance of LFS_RELEASESEGENTRY() overlooked in the last commit.
VersionDeltaFile
1.406+3-3sys/ufs/lfs/lfs_vfsops.c
+3-31 files

NetBSD/src vb09jm9 — tests/lib/libc/sys t_mkfifo.c

   t_mkfifo: Bump timeouts a little bit to exercise the race better.

   Currently on the releng testbed, the parent's open() call is not
   failing with _any_ EINTR, presumably because (a) the child is opening
   the fifo before any itimer alarms fire and then (b) signal no longer
   causes the parent's open() to fail once the child has opened the other
   end of the fifo.  So let's give the parent a bit more of a head start,
   and run the race a little longer.

   PR kern/59578: open() hangs indefinitely on FIFO with frequent signal
   interruption
VersionDeltaFile
1.7+7-8tests/lib/libc/sys/t_mkfifo.c
+7-81 files

NetBSD/src vRP7yqZ — sys/dev/ic rtl8169.c

   re(4): fix mangled TX queue on DMA map loading errors

   Do not advance the TX queue producer index when bus_dmamap_load_mbuf()
   fails.

   The producer index must advance only after a packet has been
   successfully committed to a TX queue entry.  Advancing it on a
   map loading error leaves a hole in re_txq[], while re_txq_free()
   still counts only successfully queued packets.

   re_txeof() assumes that all outstanding TX queue entries from
   re_txq_considx are contiguous, so such a hole can make it process
   an unused entry and corrupt the TX queue accounting.

   This bug was introduced by my re_encap() -> re_start() refactoring
   in rev. 1.59 back in 2006.  Sorry it took ~20 years to notice it.

   Should be pulled up to netbsd-11 and netbsd-10.
VersionDeltaFile
1.184+6-3sys/dev/ic/rtl8169.c
+6-31 files

NetBSD/src oiwaBQv — sys/kern kern_turnstile.c

   Revert "turnstile(9): Fix priority inheritance if trylock requires restart."

   This was originally done in an attempt to resolve the issue described
   in:

   PR kern/60739: Turnstile priority inheritance short-circuits walking
   of waiter chain when trylock fails

   But it may have broken other things:

   PR kern/60776: reproducable assertion failure with today's current

   > Today's amd64 kernel reproducably crashes for me when running build.sh.
   >
   > [ 4043.4787057] panic: kernel diagnostic assertion "lwp_eprio(l) >= ts->ts_eprio" failed: file "../../../../kern/kern_turnstile.c", line 356
   > [ 4043.6286910] cpu1: Begin traceback...
   > [ 4043.6686907] vpanic() at netbsd:vpanic+0x189
   > [ 4043.7186903] kern_assert() at netbsd:kern_assert+0x4b
   > [ 4043.7786898] turnstile_wakeup() at netbsd:turnstile_wakeup+0x2c5

    [10 lines not shown]
VersionDeltaFile
1.58+6-21sys/kern/kern_turnstile.c
+6-211 files

NetBSD/src VxxdDkt — tests/kernel Makefile t_fdrestart.c

   t_fdrestart: Test ptys too.

   More bugs of this class!

   PR kern/57659: closing pipe writefd fails to wake concurrent write on
   same writefd
VersionDeltaFile
1.7+312-2tests/kernel/t_fdrestart.c
1.102+3-1tests/kernel/Makefile
+315-32 files

NetBSD/src pxoug8k — tests/kernel Makefile t_fdrestart.c

   t_fdrestart: Test named fifos too.

   Turns out we're missing a wakeup on close for read and write on fifos
   too!

   PR kern/57659: closing pipe writefd fails to wake concurrent write on
   same writefd
VersionDeltaFile
1.6+182-2tests/kernel/t_fdrestart.c
1.101+4-1tests/kernel/Makefile
+186-32 files