Introduce a new function, uvm_lwp_is_pagedaemon(), which returns true
if the specified LWP is the pagedaemon LWP. This test is inline for
the kernel proper, and directed to a function for modules. This, in turn,
allows us to hide "struct uvm_cpu" and "struct uvm" from modules, as
these have arrays in them that are not a consistent size certainly across
$MACHINEs within a given $MACHINE_ARCH, and may not necessarily even be
consistent within a given $MACHINE.
NetBSD -> 11.99.6 because new symbol referenced by modules.
Import acpica-20260408 (previous was 20251212)
8 April 2026. Summary of changes for version 20260804:
Major changes:
* ACPI Table Enhancements:
Updated IORT and MADT template compilations to add new IWB and
GICv5 translator/router/ITS entries. Introduced full support for
the new DTPR table, including compiler and disassembler handling,
template fixes, and register structure refinements.
- Jose Marinho and Michal Camacho Romero
* Expanded IDs, GUIDs, and Methods:
Added Framework Computer Hardware IDs, modern standby _DSM GUIDs,
and TPM2 start methods. Updated _DSM Arg3 formatting and _CPC
handling to align with newer ACPI specifications and avoid Linux
compatibility warnings.
- Daniel Schaefer and Saket Dumbre
[28 lines not shown]
PR/56839 GCC emits wrong codes for compare_and_swap_1 bultins on armv5 (el & eb)
There is mismatch in signedness of the GCC builtin __sync_* function arguments
and the _atomic_* functions so we cannot directly alias them. Instead write
the __sync_* functions with signed arguments and pass them the unsigned
_atomics_* functions.
ehci(4): work around AMD SB600 first control transfer failure
Reload EHCI_ASYNCLISTADDR once after linking the first address-0 control
qTD chain, for AMD SB600 quirk observed on my ASRock M3A-UCC.
Addresses PR/57359.
PR/59957: Taylor R. Campbell: Centralize the disk open sequence from newfs
and tunefs to a new function "openspecial" and use it to fix this PR, and
the same issue with newfs_ext2fs.
Import zstd-1.5.7 (previous was 1.5.6)
V1.5.7 (Feb 2025)
fix: compression bug in 32-bit mode associated with long-lasting sessions
api: new method `ZSTD_compressSequencesAndLiterals()` (#4217, #4232)
api: `ZSTD_getFrameHeader()` works on skippable frames (#4228)
perf: substantial compression speed improvements (up to +30%) on small data, by @TocarIP (#4144) and @cyan4973 (#4165)
perf: improved compression speed (~+5%) for dictionary compression at low levels (#4170)
perf: much faster speed for `--patch-from` at high compression levels (#4276)
perf: higher `--patch-from` compression ratios, notably at high levels (#4288)
perf: better speed for binaries on Windows (@pps83) and when compiled with Visual Studio (@MessyHack)
perf: slight compression ratio improvement thanks to better block boundaries (#4136, #4176, #4178)
perf: slight compression ratio improvement for `dfast`, aka levels 3 and 4 (#4171)
perf: runtime bmi2 detection enabled on x86 32-bit mode (#4251)
cli: multi-threading as default CLI setting, by @daniellerozenblit
cli: new `--max` command (#4290)
build: improve `msbuild` version autodetection, support VS2022, by @ManuelBlanc
build: fix `meson` build by @artem and @Victor-C-Zhang, and on Windows by @bgilbert
build: compatibility with Apple Framework, by @Treata11
[8 lines not shown]
PR lib/60219 -- Fix sysconf(_SC_TZNAME_MAX)
That value is supposed to be the minimum value allowed for
the maximum length of a timezone abbreviation. It cannot
be something larger than is allowed for that (and NAME_MAX
has nothing to do with it)
It defines the max lengths allowed for the words in
TZ=Frankenstein-7Monster-6[transition rules]
in old style POSIX TZ variable settings - the POSIX required
minimum value is 6 (so "Frankenstein" would not fit in a minimalist
POSIX implementation).
For now, sync the values between libc/sysctl() and libc/localtime()
via a new _TZNAME_MAXIMUM definition in <time.h> and use that for
both purposes (as a possible default anyway for localtime() - there
the default value used will always be at least 254, and building with
[8 lines not shown]