Attributor: Decide which instructions access memory in the opcode switch (#241115)
initializeInformationCache already switches over the opcode of every
instruction, and then called mayReadOrWriteMemory out of line for each
one. Decide in the switch instead, where only calls need to check their
memory effects.
Instruction counts (callgrind) with other pending attributor-light
changes applied: attributor-light sqlite3 -0.79%, kimwitu++ k -0.32%,
SPASS cnf -0.31%, consumer-typeset z08 -8.59%; the full attributor
-0.02% to -0.08%.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
ExpandVariadics: Report a change when rewriting a function without calls
This only reported a change if it rewrote a call, but it always
rewrites the function itself. In lowering mode a variadic function
without callers was changed without being reported.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
sysutils/rubygem-openbolt9: New port
OpenBolt 9.0.0 follows 5.6.0 and is the first release of the OpenBolt 9
series. The version number moves from 5 to 9 so that OpenBolt and
OpenVox share a major version. There are no OpenBolt 6, 7, or 8
releases.
Release notes:
https://github.com/OpenVoxProject/openbolt/releases/tag/9.0.0
With hat: puppet
textproc/rubygem-openvox-strings: Remove explicit dependency on openvox
OpenVox is not required by this gem, and this gem can be used by openvox
8 or 9 so remove it.
With hat: puppet
x86: Do not take a CPUID leaf 1Fh module for the package
Each level of CPUID leaf 0Bh or 1Fh reports the shift that addresses
the next level up. Leaf 0Bh has only the SMT and core levels, so the
core level's shift identifies the package. Leaf 1Fh may enumerate
module, tile, die and die group levels above the core level, and then
the core level's shift identifies one of those instead.
topo_probe_intel_0xb() used the core level's shift for the package in
both cases. On a processor that enumerates a module level, every
module became a package, and the L3 cache was cut down to the module
with "WARNING: L3 data cache covers more APIC IDs than a package", so
the scheduler did not see that the modules share it. An Atom x7809C
(Amston Lake), which reports shifts of 1, 3 and 7 for its SMT, core and
module levels, came up as two packages of four cores. The N150 (Twin
Lake) in the PR is affected in the same way.
Use the shift of the last level enumerated for the package. The SDM
describes the package as the unenumerated domain above the last valid
[24 lines not shown]
[X86][MC] Fold parenthesized register scale expressions (#237899)
Fix incorrect scales in Intel memory operands such as `rbx*(1+1)` and
`rbx*(4/2)`, which currently use scales 1 and 8 instead of 2.
Evaluate parenthesized constants with the existing intel expression
parser, preserving named operators. Validate the full-width scale and
diagnose division/modulo by zero, signed division overflow, and invalid
shift counts.
Validation:
- 713 selected X86 MC and llvm-ml tests passed with assertions enabled.
- 537 supplementary local checks passed across 16/32/64-bit modes.
Partially addresses #150427. Expressions such as `(rax+1)*2` remain
outside this change.
[X86] Fix spill folding of zero-extending mask moves (#240833)
`KMOVBkk`, `KMOVDkk` and, with BWI, `KMOVWkk` zero the mask bits above
their width, but `X86InstrInfo::isCopyInstrImpl` reports them as copies.
Since 4d42e8b5 (D150388), spill folding then replaces such a move with a
spill of its source, so the zero extension is lost (#240463).
Spill folding is correct for real copies, so this patch stops treating
these moves as copies: `KMOVBkk`, `KMOVDkk` and their `_EVEX` forms are
no longer marked `isMoveReg`, and `isCopyInstrImpl` excludes `KMOVWkk`
when BWI is available. Without BWI, `KMOVWkk` moves the whole mask
register and stays a copy.
Fixes #240463
Assisted-by: Claude Opus 5.5
18733 Aggregate dataset space accounting deltas over a txg
Imported from: OpenZFS 2eae71cd170134a34419874a9d307bb57c156935
Reviewed by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed by: George Melikov <mail at gmelikov.ru>
Reviewed by: Ameer Hamza <ahamza at ixsystems.com>
Portions contributed by: Matthew Ahrens <matt at mahrens.org>
Reviewed by: George Wilson <gwilson at zfsmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18725 zfs: file system left half set up after a failed online rollback or receive
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18753 Initialize metaslab range trees in metaslab_init
Imported from: OpenZFS 793c958f6f168ebbf71db9b1ae342d8b7d73ce5a
Imported from: OpenZFS 5551dcd762d12265c4640cbce5ad4f1605c825ef
Portions contributed by: Paul Dagnelie <pcd at delphix.com>
Portions contributed by: Matthew Ahrens <matt at mahrens.org>
Reviewed by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18772 ::zfs_dbgmsg -r prints only the low 32 bits of the hrtime
Reviewed by: George Wilson <gwilson at zfsmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18756 zio_resume: log when unsuspending the pool
Imported from: OpenZFS 8be2f4c3d2c43b031fd568240beebae1b0bc7423
Reviewed by: Alexander Motin <mav at FreeBSD.org>
Reviewed by: Tony Hutter <hutter2 at llnl.gov>
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18724 zfs: replace dmu_objset_hold_flags() with dmu_objset_hold_decrypt()
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18723 zfs: MACs of an encrypted objset smaller than objset_phys_t are not checked
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18743 zfs-diagnosis leaks pool handles
Reviewed by: George Wilson <gwilson at zfsmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18744 Fix reporting of CKSUM errors in indirect vdevs
Imported from: OpenZFS c76a40bfdaedd1eb2c037dfdf822ea5c4db97397
Imported from: OpenZFS 6bab6ee838bc76d8f8be9749a0708b1187e32114
Portions contributed by: Ahelenia Ziemiańska <nabijaczleweli at nabijaczleweli.xyz>
Portions contributed by: Matthew Ahrens <matt at mahrens.org>
Reviewed by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed by: Ryan Moeller <ryan at iXsystems.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18722 zfs_send_006_pos leaves zfs_override_estimate_recordsize set to 8192
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18736 Shorten arcstat_quiescence sleep time
Imported from: OpenZFS 10e36e17612ba9c634b140ae76847bb62b5be68f
Reviewed by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18672 ztest: don't resilver from a device made unreadable by fault injection
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>