FreeBSD/src e4a203a — sys/fs/nfsserver nfs_nfsdsocket.c

nfs_nfsdsocket.c: Fix "nfsstats -d" for ERELOOKUP

When ERELOOKLUP is returned by a file operation
(always vop_lookup?) the operation is retried without
doing nfsrv_statsend().

This patch fixes this problem,

The only effect of the bug was bogus "nfsstat -d"
output.

PR:     298534

(cherry picked from commit 9a237074d380233e93a17ddee6b155cc2f90ee96)
DeltaFile
+7-0sys/fs/nfsserver/nfs_nfsdsocket.c
+7-01 files

LLVM/project fa1e20e — mlir/lib/Dialect/SCF/Transforms LoopSpecialization.cpp, mlir/test/Dialect/SCF for-loop-peeling-front.mlir

[mlir][scf] Fix front peeling skipped due to float rounding in trip count (#231100)

fixes #231062 which affects loops with constant bounds where the `step`
and `upper bound - lower bound` are very close and by "close" the `upper
bound - lower bound` exceeds step by less than about half a float32 ulp
at that magnitude.

eg: 

`ub - lb`: 20000001, `step`: 20000000
`ub - lb`: 1099511693312, `step`:  1099511627776

removing the float conversation and hence the ceil operation and
comparing `*ubInt - *lbInt <= *stepInt` with repro as a test.
DeltaFile
+33-0mlir/test/Dialect/SCF/for-loop-peeling-front.mlir
+5-2mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
+38-22 files

FreeBSD/ports c734be9 — misc/ollama Makefile distinfo

misc/ollama: update 0.40.3 → 0.40.4

ChangeLog: https://github.com/ollama/ollama/releases/tag/v0.40.4
DeltaFile
+17-17misc/ollama/distinfo
+4-4misc/ollama/Makefile
+21-212 files

FreeBSD/ports 96fafa0 — math/py-PuLP distinfo Makefile

math/py-PuLP: update 4.0.0 → 4.0.1

Also add optional dependencies as test dependencies.

ChangeLog: https://github.com/coin-or/pulp/releases/tag/4.0.1
DeltaFile
+6-3math/py-PuLP/Makefile
+3-3math/py-PuLP/distinfo
+9-62 files

FreeBSD/ports 9dc51a9 — x11/bhotkeys Makefile distinfo

x11/bhotkeys: Update to 1.4

Several improvements and bug fixes.

Update XDM examples and XDM section in bhotkeys-greeter(1) to provide the
typical location of Xsetup/GiveConsole files

Add a Listener checkbox to the panel footer to allow toggling overall
functionality (both to facilitate quick comparison of default window manager
functionality versus bhothkeys as well as quick-disable to prevent distraction
during certain games)

Fix incorrect default sort order. Should be category-then- alphabetic instead
of alphabetic

Add support for remembering scroll position and sort order in greeter mode

Fix an issue that prevented root window click from dismissing the session panel


    [10 lines not shown]
DeltaFile
+3-3x11/bhotkeys/distinfo
+1-1x11/bhotkeys/Makefile
+4-42 files

LLVM/project 1510689 — mlir/lib/Dialect/SCF/Transforms LoopSpecialization.cpp, mlir/test/Dialect/SCF transform-ops-invalid.mlir

[mlir][scf] Fix front-peel unsigned loops with at most one iteration (#231542)

For unsigned loops with constant bounds, read the bounds as `APInt` and
skip peeling when `ub <= lb` or `ub - lb <= step` (compared unsigned),
bail out if failed.

from #231100 and fixes #231541
DeltaFile
+27-0mlir/test/Dialect/SCF/transform-ops-invalid.mlir
+6-0mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
+33-02 files

LLVM/project fa80121 — llvm/test/CodeGen/AMDGPU vector-reduce-smin.ll vector-reduce-smax.ll

Fix a few isel pattern regarding regsize
DeltaFile
+1,465-1,512llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-widen.ll
+235-369llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.f16.ll
+214-382llvm/test/CodeGen/AMDGPU/bf16.ll
+349-170llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.ll
+98-170llvm/test/CodeGen/AMDGPU/vector-reduce-smin.ll
+98-170llvm/test/CodeGen/AMDGPU/vector-reduce-smax.ll
+2,459-2,77331 files not shown
+3,215-3,45637 files

OpenBSD/src NozM3Ct — sys/dev/usb uhidev.c

   uhidev: the report size when doing USB_GET_REPORT could exceed the size
   of ucr_data. Check that report size doesn't exceed ucr_data, preventing
   heap overflow. Also for USB_SET_REPORT.

   From Acts1631

   "looks correct" deraadt@
VersionDeltaFile
1.113+5-1sys/dev/usb/uhidev.c
+5-11 files

LLVM/project d214605 — mlir/lib/Dialect/Bufferization/Transforms OptimizeAllocationLiveness.cpp, mlir/test/Dialect/Bufferization/Transforms optimize-allocation-liveness.mlir

[mlir][bufferization] Fix bug when moving dealloc operation (#229296)

This commit fixes bugs that were identified in #227975.

The core reason is that the existing code does not perform checks on
wether it is safe to move `dealloc`, and would blindly do a
`deallocOp->moveAfter(lastUser)`.

We have to check that where we move it to is:
- After all the operand definitions that the `dealloc` uses
- Before any of ops that consume the results produced by the `dealloc`

This is what the `findValidInsertionPoint` method does.


AI disclosure: assistance from copilot to navigate code base, and plan
out the code. Was still written by me.
DeltaFile
+64-3mlir/lib/Dialect/Bufferization/Transforms/OptimizeAllocationLiveness.cpp
+66-0mlir/test/Dialect/Bufferization/Transforms/optimize-allocation-liveness.mlir
+130-32 files

LLVM/project 660b4bb — llvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common BUILD.gn

[gn] port e5aa0c52dda1 (#232141)
DeltaFile
+2-0llvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
+2-01 files

OpenBSD/src XIBFrAM — sys/dev/ofw ofw_regulator.c ofw_pinctrl.c

   sys/ofw: replace a few malloc by variables on stack

   OK: deraadt@
VersionDeltaFile
1.42+7-8sys/dev/ofw/fdt.c
1.4+6-5sys/dev/ofw/ofw_pinctrl.c
1.21+4-5sys/dev/ofw/ofw_regulator.c
+17-183 files

LLVM/project f432af6 — clang/lib/CIR/CodeGen CIRGenStmt.cpp CIRGenFunction.h, clang/test/CIR/CodeGenCoroutines coro-fallthrough.cpp

[CIR] Support statements after co_return (#231046)

Emit code for statements after a co_return in a new block, which may be
reachable through a label. Unlike classic codegen, this patch still
keeps unreachable code alive through flattening to stay closer to the
source code, though this could still be changed.

---------

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+572-2clang/test/CIR/CodeGenCoroutines/coro-fallthrough.cpp
+15-9clang/lib/CIR/CodeGen/CIRGenCoroutine.cpp
+13-5clang/lib/CIR/CodeGen/CIRGenFunction.h
+4-0clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+604-164 files

LLVM/project 3274723 — .github/workflows libcxx-benchmark-libstdcxx.yml libcxx-benchmark-commit.yml

[libc++] Create a reusable workflow for submitting to LNT (#232127)

This allows reusing the same logic in other workflows, and most
importantly it will allow separating concerns (such as API keys) by
making them accessible only to the workflow that needs to submit to LNT,
not the workflows that produce the benchmark data.
DeltaFile
+72-0.github/workflows/libcxx-lnt-submit.yml
+16-11.github/workflows/libcxx-benchmark-commit.yml
+16-10.github/workflows/libcxx-benchmark-libstdcxx.yml
+104-213 files

LLVM/project 576e034 — clang/lib/CIR/CodeGen CIRGenCleanup.cpp CIRGenStmt.cpp, clang/test/CIR/CodeGen lifetime-marker.cpp loop-cond-var-cleanup.cpp

[CIR] Handle lifetime-extended temporaries in loop conditions (#231469)

The lifetime of temporaries used to initialize a loop condition variable
needs to be extended to the end of each iteration. Example:

```c++
ConvertibleToBool get_ctb();

while(ConvertibleToBool const& cond = get_ctb()) {
  ...
} // destroy temporary here, then reevaluate
```

Capture the destructor cleanups so temporary lifetimes get extended.

Assisted-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+495-0clang/test/CIR/CodeGen/loop-cond-var-cleanup.cpp
+128-12clang/lib/CIR/CodeGen/CIRGenDecl.cpp
+77-4clang/test/CIR/CodeGen/lifetime-marker.cpp
+30-2clang/lib/CIR/CodeGen/CIRGenFunction.h
+20-6clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+4-3clang/lib/CIR/CodeGen/CIRGenCleanup.cpp
+754-271 files not shown
+756-287 files

OpenZFS/src 22013c3 — module/zfs zio.c

zio: free the gang header ABD when its read fails

zio_gang_tree_assemble() wraps the gang header buffer in an ABD with
abd_get_from_buf().  zio_gang_tree_assemble_done() frees it, but only
when the read succeeded: on an error it returns first and the abd_t is
never freed.  Each failed gang header read, whether from a checksum
or an I/O error, leaks one.

A pool whose MOS has large gang headers that can not be read while
the pool is loading (#19189) shows it.  On a debug kernel, the failed
imports of such a pool left six abd_t objects behind and "rmmod zfs"
then panicked on
VERIFY3U(percpu_counter_sum(&skc->skc_linux_alloc), ==, 0).  valgrind
on a failed "zdb -e" of the same kind of pool reports the abd_t
allocated by abd_get_from_buf() in zio_gang_tree_assemble() as
definitely lost.

Free the ABD on the error path as well.  Nothing else owns it: the
gang tree only frees the header buffer, and the other gang callbacks

    [5 lines not shown]
DeltaFile
+4-1module/zfs/zio.c
+4-11 files

LLVM/project 5fcb9fb — orc-rt/test/regression/languages/c/addressing global-bss-data-store.c static-bss-data-store.c

[orc-rt] Add C addressing regression tests for BSS. (#232137)

Add static/global x load/store tests for zero-initialized data, plus
load and store tests of the last element of a 1MB BSS array, which catch
zero-fill memory that is undersized (e.g. a single page) or only partly
writable.
DeltaFile
+28-0orc-rt/test/regression/languages/c/addressing/global-bss-array-element-load.c
+25-0orc-rt/test/regression/languages/c/addressing/global-bss-array-element-store.c
+25-0orc-rt/test/regression/languages/c/addressing/global-bss-data-load.c
+25-0orc-rt/test/regression/languages/c/addressing/static-bss-data-load.c
+24-0orc-rt/test/regression/languages/c/addressing/global-bss-data-store.c
+24-0orc-rt/test/regression/languages/c/addressing/static-bss-data-store.c
+151-06 files

LLVM/project c0c88a8 — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/RISCV/rvv fixed-vectors-vaadd.ll

[DAGCombiner] Use willNotOverflowAdd in addition to the nsw flag in DAGCombiner::visitAVG. (#231347)

I encountered a case in our downstream compiler where we generated
an avgfloors but a later reassociation brought an add with 1 closer
to the avgfloors, exposing an opportunity to use avgceils.
Unfortunately, we didn't have the nsw flag because DAGCombiner
doesn't infer it.

We could do this for avgflooru/avgceilu too, but I don't have a test
case yet. Converting the signed test I have to unsigned by using zext
still ends up picking avgfloors instead of avgflooru.
DeltaFile
+35-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vaadd.ll
+7-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+42-12 files

NetBSD/pkgsrc URNHmKC — databases/guile-pg Makefile

   databases/guile-pg: Really change to guile 3.0

   instead of just adding a patch which would make it build, were it
   selected.
VersionDeltaFile
1.62+2-2databases/guile-pg/Makefile
+2-21 files

LLVM/project 941d0be — llvm/lib/ObjCopy/ELF ELFObject.h ELFObject.cpp, llvm/unittests/ObjCopy ObjCopyTest.cpp

[llvm-objcopy] Stream ELF output to regular files

Write ELF output directly to seekable regular files instead of first allocating a buffer for the entire output. Keep buffered output for stdout and other non-seekable streams.

Use separate buffered and file-backed output implementations. Serialize regenerated metadata sequentially, seeking once per output range, and report sticky file errors after writing finishes. Truncate and extend seekable output up front so unwritten layout gaps read as zero without being materialized; explicitly overwrite only removed section contents within copied segments.

On a synthetic stamping-style ELF containing a 1 GiB payload, three warm-cache no-op copies had median peak RSS of 2,102,916 KiB before and 1,053,844 KiB after (49.9% lower). Median wall time improved from 1.06 s to 0.77 s, and the outputs were byte-identical.

Co-authored-by: Jeremy Braun <jtbraun at meta.com>
Co-authored-by: Fangrui Song <i at maskray.me>
Assisted-by: OpenAI Codex
DeltaFile
+152-100llvm/lib/ObjCopy/ELF/ELFObject.cpp
+86-9llvm/lib/ObjCopy/ELF/ELFObject.h
+62-0llvm/unittests/ObjCopy/ObjCopyTest.cpp
+300-1093 files

HardenedBSD/src 4dd9632 — lib/libthr/thread thr_init.c, sys/kern subr_epoch.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+99-65usr.sbin/bhyve/pci_xhci.c
+159-0tests/sys/netinet6/ndp.sh
+58-9lib/libthr/thread/thr_init.c
+19-42sys/kern/subr_epoch.c
+40-19usr.sbin/bhyve/pci_fbuf.c
+58-0tests/sys/sound/mmap.c
+433-13567 files not shown
+948-31173 files

HardenedBSD/src cc9a578 — sys/fs/fuse fuse_vnops.c fuse_ipc.c, tests/sys/fs/fusefs utils.hh mockfs.cc

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+75-11tests/sys/fs/fusefs/pre-init.cc
+31-0sys/fs/fuse/fuse_vfsops.c
+1-23sys/fs/fuse/fuse_ipc.c
+0-14sys/fs/fuse/fuse_vnops.c
+8-1tests/sys/fs/fusefs/mockfs.cc
+2-0tests/sys/fs/fusefs/utils.hh
+117-493 files not shown
+119-529 files

LLVM/project 64de742 — llvm/include/llvm/Support raw_ostream.h, llvm/lib/Support raw_ostream.cpp

[Support] Support seekable temporary output streams

Use raw_fd_stream for temporary outputs so callbacks can perform positioned writes and resize the destination. Add raw_fd_ostream::takeError and raw_fd_stream::resize, and return stream failures through Error while preserving an existing destination.

Co-authored-by: Jeremy Braun <jtbraun at meta.com>

Assisted-by: OpenAI Codex
DeltaFile
+66-0llvm/unittests/Support/raw_ostream_test.cpp
+48-3llvm/lib/Support/raw_ostream.cpp
+7-0llvm/include/llvm/Support/raw_ostream.h
+121-33 files

LLVM/project 9344e48 — llvm/lib/ObjCopy/ELF ELFObject.h ELFObject.cpp, llvm/test/tools/llvm-objcopy/ELF many-sections.test

[llvm-objcopy] Route section copies through writeSectionContents

Centralize section byte copies behind a virtual helper so ELF output can later target either a memory buffer or a seekable stream. Materialize SHT_SYMTAB_SHNDX entries using the target ELF word type to preserve output endianness.

Co-authored-by: Jeremy Braun <jtbraun at meta.com>

Assisted-by: OpenAI Codex
DeltaFile
+25-15llvm/lib/ObjCopy/ELF/ELFObject.cpp
+4-0llvm/test/tools/llvm-objcopy/ELF/many-sections.test
+1-0llvm/lib/ObjCopy/ELF/ELFObject.h
+30-153 files

HardenedBSD/src 5d9fdf5 — tests/sys/netpfil/common nat.sh utils.subr, usr.bin/diff diff.h diff.1

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+7-7tests/sys/netpfil/common/utils.subr
+10-3usr.bin/diff/diff.c
+5-2usr.bin/diff/diffreg.c
+4-1usr.bin/diff/diff.1
+1-1tests/sys/netpfil/common/nat.sh
+1-0usr.bin/diff/diff.h
+28-146 files

LLVM/project 35ed1eb — lldb/packages/Python/lldbsuite/test/tools/lldb_dap types.py, lldb/test/API/tools/lldb-dap/exception/ubsan TestDAP_ubsan.py

[lldb-dap] Return raw stop info from exceptionInfo (#231760)

lldb-dap folds the thread's extended stop info and the process's
extended crash information into the exceptionInfo description as
formatted text. Clients that want interpret these themselves currently
have to parse them back out.

Return both as raw JSON in two new lldb-dap extension fields,
`$__lldb_stopReasonExtendedInfo` and `$__lldb_extendedCrashInformation`.

rdar://188761988
DeltaFile
+34-0lldb/tools/lldb-dap/Handler/ExceptionInfoRequestHandler.cpp
+13-0lldb/tools/lldb-dap/Protocol/ProtocolRequests.h
+9-0lldb/unittests/DAP/ProtocolRequestsTest.cpp
+6-0lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp
+6-0lldb/packages/Python/lldbsuite/test/tools/lldb_dap/types.py
+5-0lldb/test/API/tools/lldb-dap/exception/ubsan/TestDAP_ubsan.py
+73-01 files not shown
+77-07 files

HardenedBSD/src 74433b8 — sys/fs/fuse fuse_vnops.c fuse_ipc.c, tests/sys/fs/fusefs utils.hh mockfs.cc

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+75-11tests/sys/fs/fusefs/pre-init.cc
+31-0sys/fs/fuse/fuse_vfsops.c
+1-23sys/fs/fuse/fuse_ipc.c
+0-14sys/fs/fuse/fuse_vnops.c
+8-1tests/sys/fs/fusefs/mockfs.cc
+2-0tests/sys/fs/fusefs/utils.hh
+117-493 files not shown
+119-529 files

NetBSD/pkgsrc 2s1iRY4 — databases/guile-pg distinfo Makefile, databases/guile-pg/patches patch-build-aux_guile-baux_common.scm

   databases/guile-pg: Change to guile 3.0
VersionDeltaFile
1.1+13-0databases/guile-pg/patches/patch-build-aux_guile-baux_common.scm
1.61+2-2databases/guile-pg/Makefile
1.21+2-1databases/guile-pg/distinfo
+17-33 files

HardenedBSD/ports 67fa3b3 — mail/phplist pkg-plist, net-mgmt/junos_exporter distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+14,551-8,907mail/phplist/pkg-plist
+8-7net/self-service-password/pkg-plist
+7-7net-mgmt/semaphore/distinfo
+5-5net-mgmt/junos_exporter/distinfo
+3-3www/littlefedi/distinfo
+3-3textproc/py-bracex/distinfo
+14,577-8,93226 files not shown
+14,629-8,98232 files

NetBSD/pkgsrc yTpxSXb — devel/guile-www distinfo Makefile, devel/guile-www/patches patch-build-aux_guile-baux_common.scm

   devel/guile-www: Change to guile 3.0
VersionDeltaFile
1.1+13-0devel/guile-www/patches/patch-build-aux_guile-baux_common.scm
1.44+3-3devel/guile-www/Makefile
1.22+2-1devel/guile-www/distinfo
+18-43 files

LLVM/project 07aaa90 — llvm/lib/Transforms/Scalar LoopPredication.cpp, llvm/test/Transforms/LoopPredication widenable-guard-profitability.ll

[LoopPredication] Check profitability per widenable guard

The profitability check refuses to predicate a loop if any exit is more
than twice as likely as the latch exit. For a guard expressed as a
widenable branch, the guard's own deopt edge is one of these exits, but
predicating the guard cannot make that edge taken spuriously; it can only
move an actual failure to the loop entry.

A frontend that gives every guard a fixed, very small failure probability
(e.g. weights {983040, 1}) therefore never gets its guards predicated in
loops running more than ~1.97M iterations per entry, because the latch
exit becomes less likely than the guard's own deopt edge. This keeps the
range check inside the loop and blocks its vectorization.

Check the profitability separately for each widenable guard, ignoring
only that guard's deopt edge. Deopt edges of other guards and all other
exits still compete with the latch exit. Guard intrinsics and loop exit
predication still use the check for the whole loop.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+25-9llvm/lib/Transforms/Scalar/LoopPredication.cpp
+12-5llvm/test/Transforms/LoopPredication/widenable-guard-profitability.ll
+37-142 files