ZTS: read zpool_get_006_pos class properties together
zpool_get_006_pos checks that the space properties of each allocation
class agree with each other, for example that used is not larger than
allocated. It read each property with a separate zpool get.
Three sections of the test write with sync=always and do not wait for
the pool to sync before the checks. The space counters only change when
a transaction group syncs, and this can happen between two of the zpool
get calls. The values then come from different points in time, and the
check fails. With kmemleak enabled, each zpool get takes longer, and the
test failed in about a third of the runs.
Read all properties of a class with a single zpool get. It returns all
values from the same ioctl, so they agree with each other.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Moch <mail at alexmoch.com>
Closes #19401
www/lua-resty-core: Update to 0.1.34rc3
Chase www/nginx-module-lua update, without this people end up with an
nginx that fails to start.
Fixes: 67b99bc12c8f
ZTS: run zfs_get_009_pos under kmemleak without CPU mitigations
zfs_get_009_pos skips itself when kmemleak is enabled, because it runs
too slowly. Most of the slowdown comes from CPU mitigations: with
mitigations=off, it takes at most about 10 minutes under kmemleak.
Add has_mitigations, and skip the test only when both kmemleak and CPU
mitigations are enabled. Raise the timeout of the zfs_get tests to 900
seconds, so that slower runners can still finish it. Keep expecting a
SKIP in zts-report for systems that still skip it.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Moch <mail at alexmoch.com>
Closes #19382
CI: Cancel outdated push runs on the same branch
Push events have no head_ref, so the run_id fallback puts every push
in a separate concurrency group. Use the pushed ref to group runs from
the same branch and let cancel-in-progress stop outdated runs.
Keep the existing grouping for PRs and independent manual runs.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19412
docs: Add fork CI and PR submission guidance for agents
Wait for successful fork CI on the final PR head before opening an
upstream PR so supported workflows can reuse its results. Limit new
upstream PRs to five per day unless agreed with maintainers in advance.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19412
CI: Extend fork result reuse and honor requested reruns
Extend QEMU result reuse to zloop, unit tests, ARM builds and
checkstyle. Use one helper with workflow file, runner, job name and
required step profiles. Require successful lint and ABI checks for
checkstyle, and exclude manual ARM runs with custom GCC inputs.
Reuse fork results only on the first workflow attempt. Requested reruns
execute in the base repository. Ignore cached Setup outputs on selective
QEMU matrix reruns and collect their new artifacts and summaries.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: George Melikov <mail at gmelikov.ru>
Closes #19412
TableGen: Reserve per-register lists in RegisterInfoEmitter
The sub-register, super-register and register unit lists of each
register were built one element at a time, although their sizes are
known in advance. AMDGPU has about 20000 registers, so there were a
lot of realloc calls.
Generating AMDGPUGenRegisterInfo.inc executes 0.4% fewer instructions
with 4% fewer page faults. This greatly reduces the time impact with
MALLOC_PERTURB_=1.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[NVPTX] Mark SMUL_LOHI and UMUL_LOHI as Expand for v2i16 (#225808)
`SMUL_LOHI` and `UMUL_LOHI` were inadvertently left as `Legal` for
`v2i16` in NVPTX, despite the backend having no instruction patterns to
select them. As a result, the vector legalizer expands `v2i16`
high-multiplies (`mulhs`/`mulhu`) and constant divisions into `v2i16`
`smul_lohi`/`umul_lohi` nodes instead of scalarizing them into `i16`
operations, causing an instruction selection crash. Marking both
operations as `Expand` for `v2i16` ensures they are properly scalarized.
Assisted-by: Gemini
---------
Co-authored-by: Yonah Goldberg <ygoldberg at nvidia.com>
[libc][math] Use float-only evaluation in asinbf16 and acosbf16 (#228734)
Update `asinbf16` and `acosbf16` to use a shared `float` polynomial
instead of the double-precision `asin_eval` helper. Reuse the polynomial
coefficients from `asinf16`.
For small `acosbf16` inputs, return pi/2 rounded to `bfloat16` before
squaring the input or evaluating the polynomial. This avoids spurious
underflow from intermediate products.
Related: #202079
Assisted-by: GPT-6-Astra
Update wineh-empty-seh-scope.ll for the Windows trap change
An unreachable that does not follow a call no longer traps, so the empty
function gets the generic zero-length function nop, as on X86.
X86: Preserve dead flag when expanding MOV32ri64
The expansion narrowed the dead 64-bit def to a dead 32-bit def, but
added a live implicit-def of the 64-bit register. This avoids failing
a future verifier check.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
Merge tag 'iommu-fixes-v7.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux
Pull IOMMU fixes from Joerg Roedel:
"AMD IOMMU:
- Revert an interrupt remapping check removal that caused GPU
regressions on some platforms
Generic page tables:
- Fix KUnit builds with distributed Clang ThinLTO by preserving
compiler flags, preventing x86-64 code generation from arm64
bitcode"
* tag 'iommu-fixes-v7.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux:
iommupt/kunit: Use if_changed_rule for the kunit
Revert "iommu/amd: Remove redundant check in irq_remapping_select()"
[Clang] [CUDA] Follow ctor/member initializers in DeferredDiagnosticsEmitter (#232044)
We are currently ignoring the fact that a constructor invocation also
runs constructor/member initializers, which causes us to miss some
diagnostics about `__host__`/`__device__` mismatch. Inherited constructors
are likewise not handled correctly.
This patch fixes both.
Fixes #118415.
Assisted-by: Codex