sched_ule: Fix two typos in comments introduced in previous commit
Reported by: kib
Fixes: 538c48bf6247 ("sched_ule: Fix rare deadlock on stealing a migrated lock-blocked thread")
Sponsored by: The FreeBSD Foundation
[mlir][Vector] Reuse args buffers in WarpOpToScfIfPattern (#204311)
Args buffers are unused after lane 0 reads them inside the scf.if (the
Step 3 barrier fences other lanes), so reuse their storage for yielded
values via `memref.subview` when sizes are compatible. Reduces shared
memory footprint with no runtime overhead.
[RISCV] Add VeeR EH1 scheduling model and tuning (#240913)
VeeR EH1 is a 9-stage, 2-wide in-order core with two ALUs, one
load/store unit and one pipelined multiplier. Load and multiply results
reach an ALU consumer after 3 cycles, a branch can issue in the same
cycle as the load or multiply it depends on (it executes in the EX4
secondary ALU), and the divider stalls decode until it finishes. Checked
against cycle-accurate simulation of the v1.9 RTL.
Use the model for -mcpu=chipsalliance-veer-eh1, with tuning from the
same simulation: the RISC-V unroll preferences (TuneNoDefaultUnroll), no
load clustering (no data cache, one load/store unit), post-RA
scheduling, and a minimum jump-table size of 10 (a branch tree is
cheaper below that).
Assisted-by: Claude
[NVPTX] Only run ptxas on clz-popc-known-bits.ll if it supports sm_70 (#242961)
ptxas from CUDA 13 no longer supports sm_70, so the RUN line added in
#237793 fails on the NVPTX buildbots. Guard it the same way as other
sm_70 tests.
Assisted-by: Claude Code (Claude Opus 5.5)
openssl: build legacy provider as upstream does
- Build with libcrypto's compile flags: modules/Makefile.inc now
includes libcrypto's Makefile.inc, which brings in Makefile.common
(NDEBUG, the asm dispatch defines, OPENSSL_PIC, the directory
defines). Before this change, assertions were enabled in legacy.so.
- Use upstream's per-architecture source list: the provider's own CPU
capability code (cpuid asm and armcap.c/ppccap.c, or mem_clr.c
without asm), and the MD5, RC4 and DES asm where upstream uses it.
The provider no longer uses libcrypto's exported RC4, SHA1 and
CRYPTO_*128 functions.
- Drop the objects that upstream's linker leaves out of legacy.so
(fcrypt_b.c, md5_one.c, md5_sha1.c, provider_err.c and
ciphercommon_{ccm,gcm}*.c / ciphercommon_hw.c). Without them,
params_idx.c is not needed either.
- Add a version script, a copy of upstream's providers/legacy.ld, so
that only OSSL_provider_init is exported. Around 209 symbols were
exported before.
[5 lines not shown]
openssl: fix engine defines to match upstream
Two engine Makefiles define different macros from upstream's
engines/build.info:
- padlock: engines/e_padlock.c builds the engine only when PADLOCK_ASM
is defined. Upstream defines it on x86 and x86_64, but our Makefile
never did, so padlock.so has been a stub whose bind_engine() returns
0 and the e_padlock-x86*.S code it links was never called. Define
PADLOCK_ASM on amd64 and i386, where that asm is built.
- loader_attic: upstream defines OPENSSL_NO_PROVIDER_CODE; the Makefile
had OPENSSL_NO_PROVIDER_CORE. No source tests either name, so the
build does not change; this only follows upstream.
Found by comparing per-file compile flags against an upstream 3.5.9
build. Checked by preprocessing e_padlock.c for amd64 and i386:
COMPILE_PADLOCKENG is now defined.
[5 lines not shown]
openssl: export only the engine entry points
Upstream links every dynamic engine with a version script,
engines/<name>.ld, that exports bind_engine and v_check and makes
everything else local. FreeBSD's engines had no version script, so
they exported every global symbol, including _init and _fini.
loader_attic.so compiles its own copy of crypto/pem/pvkfmt.c and so
also exported 21 of its functions; 14 of them (b2i_*, i2b_*) have the
same names as public libcrypto functions.
Add one Version.map for all engines, the same as upstream's, and use it
from engines/Makefile.inc.
The engines are loaded only with dlopen(), and libcrypto looks up only
bind_engine and v_check, so hiding the other symbols does not affect
any consumer.
Tested via tinderbox: capi.so, devcrypto.so and loader_attic.so link
with --no-undefined-version and export only bind_engine and v_check.
[8 lines not shown]
openssl: stop generating asm that nothing builds
Makefile.asm generated eight perlasm outputs that neither libcrypto nor
the kernel builds. Additionally, upstream does not build them for these
architectures with FreeBSD's configuration:
- aarch64: ecp_sm2p256-armv8, sm3-armv8, sm4-armv8, vpsm4-armv8 and
vpsm4_ex-armv8. SM2, SM3 and SM4 are disabled (disable-sm2/sm3/sm4).
- i386: cast-586 (upstream's x86 configuration uses the C CAST code)
and rc5-586 (RC5 is disabled by default).
- powerpc: aes-gcm-ppc. Upstream builds it only for 64-bit
little-endian; libcrypto and ossl(4) use it only on powerpc64 and
powerpc64le, whose copies stay.
Remove them from Makefile.asm and delete the generated files, so the
next vendor import does not regenerate them. If one of these algorithms
is ever enabled, add its script back to Makefile.asm and run "make
buildasm".
[10 lines not shown]
py-aiostream: updated to 0.8.2
0.8.2
Reject a zero step in stream slicing
Reject nonpositive chunk sizes before consuming the source
docs: demonstrate labeling sources before merging streams
Document explicit async_ wrapping for callable instances
Await generator-based coroutines in stream.just
Update GH actions and harden CI workflow permissions
Update type checkers and fix typing with recent mypy and pyright
cargo-machete: updated to 0.10.1
0.10.1 (released on 2026-11-15)
Fixed release build of cargo-machete on MacOS
Fixed Github action download on linux aarch64, now that it's using musl
0.10.0 (released on 2026-11-14)
Performance improvement: with --with-metadata, run cargo metadata once per workspace instead of once per crate, which drastically speeds up analysis of large workspaces
Added --skip to skip a precise directory, defined as an absolute or relative path, no prefix meaning .-relative (e.g. --skip ../tests); may be passed multiple times
Fixed: error out when a searched path contains no Cargo.toml, instead of reporting success
Fixed: if a package is a workspace root, use it as the workspace root, instead of trying to find a workspace manifest in a parent directory
Added: --skip-patterns flag to prune directories from the walk, matched on trailing path components (e.g. --skip-patterns tests); may be passed multiple times
Improved: add renamed table to track renamed crates
[mlir] [arith] Combine op for select (#234818)
Fold select(c, F(a0, a1), F(b0, b1)) into F(select(c, a0, b0), select(c,
a1, b1))
Correctness provement:
Let's discuss the cases ignoring poison first.
As F is elementwise, we have
F(a1, a2, ..., a_n)[p] = F(a1[p], a2[p], ..., a_n[p])
then for
L = select(M, F(a0, a1, ..., a_n), F(b0, b1, ..., b_n))
R = F(select(M, a0, b0), select(M, a1, b1), ....)
for any position p, we have:
[35 lines not shown]
py-pikepdf: updated to 10.18.2
10.18.2
Fixed crashes on Windows in code that locks more than one Pdf at once,
such as Pdf.add_pages_from() and signature stamping. Two unrelated internal
C++ classes had the same name, which broke the one-definition rule. The MSVC
linker then gave both classes the destructor of one of them. Free-threaded
(cp314t) Windows wheels, which were left out of v10.18.0 because of these
crashes, are provided again.
The extension module is now built with link-time optimization, which makes
it about 14% smaller. Source builds use it where the toolchain supports it.
To build without it, pass -C cmake.define.PIKEPDF_LTO=OFF.