[libc++][AIX] Enable LIBCPP_SHARED_PTR_DEFINE_LEGACY_INLINE_FUNCTIONS on AIX (#179784)
This PR enables the `LIBCPP_SHARED_PTR_DEFINE_LEGACY_INLINE_FUNCTIONS`
macro on AIX because the functions guarded by this macro are required for
backward compatibility.
[LoopUnrollPass] Indent `LLVM_DEBUG()` messages based on our depth in the `tryToUnrollLoop()` call graph (#178945)
Unify the ad-hoc use of whitespace in `LLVM_DEBUG()` messages.
This approach should also make it easier to see which loop debug
messages correspond to and which part of the loop unrolling heuristics
each message corresponds to.
NAS-139737 / 26.0.0-BETA.1 / fix TooManyOpenFiles leak (#18177)
Fixes Too many open files (EMFILE) caused by unbounded concurrent
systemctl restart ix-vendor subprocess spawning in response to
rapid-fire ipaddress.change netlink events.
Root cause: Every IP address change event fired a new create_task that
spawned a systemctl restart ix-vendor subprocess. During network
reconfiguration bursts, hundreds of concurrent subprocesses piled up,
each opening pipes/fds, until the file descriptor limit was exhausted.
Fix:
- Replace `subprocess.run(["systemctl", "restart", "ix-vendor"])` with
`call_unit_action_and_wait("ix-vendor.service", "Restart")` where the
latter communicates with systemd over D-Bus instead of spawning
subprocesses, eliminating fd pressure entirely
- Guard with `IX_VEND_LOCK` (asyncio.Lock) using a skip-if-locked
pattern to coalesce concurrent restart requests into a single operation
NAS-139619 / 25.10.2 / Fix grub.cfg corruption during HA standby reboot (by ixhamza) (#18178)
When toggling STIG/FIPS on an HA system, the standby controller can end
up stuck in the GRUB console with an empty `grub.cfg`. This occurs
because two `failover.reboot.other_node` calls are dispatched
back-to-back: one from the middleware automatically and second one from
the WebUI reboot dialog with default options (`graceful=False`). The
second call is queued behind the first via the `reboot_standby` job
lock, and fires as soon as the standby finishes booting from the first
reboot during the `post_init` checkpoint which runs `update-grub`.
`update-grub` is a wrapper around `grub-mkconfig`, which writes the
final config using:
```
cat grub.cfg.new > grub.cfg
```
The shell `>` truncates grub.cfg to zero bytes before `cat` writes the
new content. `grub-mkconfig` does not fsync at any point. When the
second reboot kills the process, `grub.cfg` is left as a zero-byte file
[11 lines not shown]
NAS-139619 / 26.0.0-BETA.1 / Fix grub.cfg corruption during HA standby reboot (#18176)
When toggling STIG/FIPS on an HA system, the standby controller can end
up stuck in the GRUB console with an empty `grub.cfg`. This occurs
because two `failover.reboot.other_node` calls are dispatched
back-to-back: one from the middleware automatically and second one from
the WebUI reboot dialog with default options (`graceful=False`). The
second call is queued behind the first via the `reboot_standby` job
lock, and fires as soon as the standby finishes booting from the first
reboot during the `post_init` checkpoint which runs `update-grub`.
`update-grub` is a wrapper around `grub-mkconfig`, which writes the
final config using:
```
cat grub.cfg.new > grub.cfg
```
The shell `>` truncates grub.cfg to zero bytes before `cat` writes the
new content. `grub-mkconfig` does not fsync at any point. When the
second reboot kills the process, `grub.cfg` is left as a zero-byte file
[7 lines not shown]
Fix grub.cfg corruption during HA standby reboot
When toggling STIG/FIPS on an HA system, the standby controller can end
up stuck in the GRUB console with an empty grub.cfg. This occurs because
two failover.reboot.other_node calls are dispatched back-to-back: one
from the middleware automatically and one from the WebUI reboot dialog
with default options. The second call is queued behind the first via the
reboot_standby job lock, and fires as soon as the standby finishes
booting from the first reboot during the post_init checkpoint which
runs update-grub. update-grub is a wrapper around grub-mkconfig, which
writes the final config using:
cat grub.cfg.new > grub.cfg
The shell ">" truncates grub.cfg to zero bytes before cat writes the new
content. grub-mkconfig does not fsync at any point. When the second
reboot kills the process, grub.cfg is left as a zero-byte file because
the data was not synced to disk. GRUB cannot boot without a valid config
and drops to the GRUB console.
[7 lines not shown]
[WebAssembly] Add a WASM table to `llvm/test/MC/WebAssembly/wasm64.s`. NFC (#180861)
Adds an `externref` WASM table to the MC level testing of Wasm64 to make
sure it emits the table with the `IS_64` (64-bit/i64 indices) flag.
Linux 6.19 compat: META
Update the META file to reflect compatibility with the 6.19
kernel.
Reviewed-by: Rob Norris <robn at despairlabs.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Tony Hutter <hutter2 at llnl.gov>
Closes #18197
[MLIR][Math] Fix math.ceil expansion to avoid undefined behavior on Inf/NaN (#170028)
Fixes #151786
The original `ceilf` expansion lowers to `fptosi`, which produces poison
for Inf, and any subsequent use leads to undefined behavior. This patch
adds a safe path, similar to the existing `round` expansion, for large
or special inputs and avoids the UB.
[X86] Move getTargetVShift helpers earlier in the source file. NFC. (#180972)
Avoid having to add forward declarations for earlier functions to use them.
[CMake] Only pass PYTHON_EXECUTABLE to native build if defined (#180964)
This addresses the following warning when PYTHON_EXECUTABLE is not set
in the host build:
```bash
CMake Warning:
Manually-specified variables were not used by the project:
PYTHON_EXECUTABLE
```
Reference:
https://github.com/llvm/llvm-project/pull/163574
net/megacmd: update to 2.4.0
Tue Dec 16 17:14:02 CET 2025 - linux at mega.co.nz
- Update to version 2.4.0:
* Improvements in uploads UX/UI: put now supports printing tag. Fixes in transfers table
* Stability improvements: crashes fixes, FUSE deadlocks, ...
* Performance boosts: lockless download URL retrievals, removed CPU bottlenecks for large accounts processing, db operations improvements, transfers improvements ...
* Typos and other improvements
Tue Sep 2 16:43:10 CEST 2025 - linux at mega.co.nz
- Update to version 2.3.0:
* FUSE (beta): Added fuse commands on Windows to allow your MEGA folders to be directly mounted to your local drive
* Other fixes and improvements to enhance reliability and performance
Tue Jun 3 23:20:12 CEST 2025 - linux at mega.co.nz
- Update to version 2.2.0:
* Support building for ARM64 in linux
* New command "configure" to allow configuring some settings
* Support setting max number of nodes in memory
[4 lines not shown]
[CIR] Match codegen change on fmin and fmax
- #113133 adds 'nsz' on the emitted 'llvm.minmum'/'llvm.maxnum' from
fmin/fmax following the semantic clarification from #112852.