games/vkquake: Update to 1.36.0 + take maintainer
Notable changes:
+ Support for 30th anniversary remaster
+ New level select menu
+ 5 new selectable crosshairs
+ more UI graphics filtering options
+ quake console seriously improved
+ multiplayer menu enhanced
+ lots of performance fixes, which were noticable on my laptop
PR: 298434
Approved by: Amelia Marsh <seafork at disroot.org> (maintainer timeout)
(cherry picked from commit 058caa7c245ccafcd5105d8afad84a1a91fbafed)
[InstCombine] Fix profiles for SPFs in FoldSelectWithAndOrCond (#231280)
01955119c7740a5e1fdf5bed4ba4434a35fe4613 previously tried to fix the
case in FoldSelectWithAndOrCond where the select is a SPF (select
pattern flavor). However, it incorrectly propagated the profile
information, pulling it from the select passed into the function for
which the conditioon does not match the new select.
This patch fixes that by pulling the branch weights from the logical
select in the comparison if the conditions match and otherwise assigning
unknown branch weights. This should cover a decent portion of cases, and
in other cases we are unable to come up with branch weights.
spa: don't self-heal while loading an older txg
A rewind (zpool import -F/-FX), an import of an explicitly requested txg
(-T) and the dry run of either load a txg older than the newest one on
disk. Its blocks may have been freed and their space reused by later
txgs, so a copy failing its checksum is expected there. But the mirror,
raidz and indirect read paths rewrite a failed copy with the contents of
an intact one whenever the pool is writeable, which these loads are, dry
runs included. The write lands on whatever lives there now: blocks of
later txgs, including the newest one. A series of
`zpool import -nFX -T` dry runs can leave the pool unimportable
("couldn't get 'config' value in MOS directory").
Only repair when no load is in progress, when the load is of the
newest txg, or once the load has committed to its txg by starting to
sync, so that resilver and rebuild repairs issued from then on, and
self-healing after the import, are unaffected.
This makes import_rewind_dryrun_no_writes pass.
[5 lines not shown]
ZTS: add import_rewind_dryrun_no_writes
A dry run of a rewind (zpool import -nFX -T <txg>) loads an older txg
with the pool writeable. When one copy of an old block has had its
space reused by a later txg and another copy is intact, reading the
intact copy "repairs" the reused one with the old contents, overwriting
live blocks of the newest txg.
The test syncs a small pool many times, dry runs a rewind to every
older txg left in the uberblock ring, and checks that the vdev's
allocatable area is unchanged and that the pool still imports and
scrubs clean.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Will Rouesnel <wrouesnel at wrouesnel.com>
Closes #19353
NAS-144260 / 27.0.0 / Do not allow to enable webshare search if truesearch is not available (by themylogin) (#19999)
Original PR: https://github.com/truenas/middleware/pull/19993
Co-authored-by: themylogin <themylogin at gmail.com>
LV: Expand llvm.histogram intrinsic to support umax, umin, and uadd.sat operations (#127399)
This patch extends the llvm.histogram intrinsic to support additional
update operations beyond the existing add. Specifically, the new
supported operations are:
- umax: unsigned maximum
- umin: unsigned minimum
- uadd.sat: unsigned saturated addition
Changes in this patch include:
- Updates to the Loop Vectorizer (LV) to recognize and handle the new
operations.
- Scalar fallback support added via ScalarizeMaskedMemIntrin for targets
that do not natively support these operations.
[AMDGPU] Make xnack-support generic any feature. NFCI
This allows to include targets with and w/o xnack into a same
generic target. Generic target shall have xnack enabled in this
case.
TableGen: Pack the RecordVal used flag with its type
Every record holds a copy of every field it inherits, so RecordVal makes
up most of tablegen's memory use. Store the used flag alongside the
field kind in the spare low bits of the type pointer instead of in a
separate bool. This shrinks RecordVal from 56 to 48 bytes.
Parsing AMDGPU.td with llvm-tblgen --null-backend, peak memory drops
from 934 MB to 834 MB with 10% fewer page faults.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
www/{nginx,nginx-devel,freenginx}: 3rd-party modules management
- Announce the removal of the HTTP_NOTICE option after 2026-12-31.
nginx can return a fixed body itself.
- Announce the removal of the HTTP_UPSTREAM_STICKY option after
2026-12-31 in nginx and nginx-devel. nginx has its own sticky
directive since 1.29.6, freenginx does not.
Sponsored by: Netzkommune GmbH
NAS-144415 / 28.0.0-BETA.1 / Use `systemd` to determine whether `syslog-ng` is running (#19996)
No need to use `subprocess`. The return code check was also incorrect:
it should've been `!= 0`, not `== 1` since on Linux the return code for
a process that is not running is `3` (it has probably been broken since
FreeBSD times).
rms: Order a writer's stores before its readers see it leave
Readers check rms->writers without a fence, and rms_wunlock() drops
it with a plain store. rms_wlock() interrupts every CPU before the
first writer blocks readers, but nothing orders them when the last
writer leaves: on a weakly ordered CPU a reader can see the count
reach zero and still read what the writer replaced, such as callbacks
of a module unloaded under the lock.
Fence every CPU before the last writer drops the count: rename
rms_wlock_switch() to rms_block_readers() and add
rms_unblock_readers(), a wrapper for cpus_fence_seq_cst(). Readers
stay fence-free; the cost lands on the rare unlock.
Reviewed by: mjg
Discussed with: kib
Fixes: 1f162fef76a0 ("Add read-mostly sleepable locks")
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D60658
[AMDGPU] Add gfx1310 barrier test coverage
Barrier builtins and intrinsics were untested on gfx1310.
Add gfx1310 RUN lines to the clang builtin tests and the barrier llc
tests. Also run builtins-amdgcn-gfx12.cl on gfx1250. Move builtins
gfx1310 lacks from builtins-amdgcn-gfx1250.cl to a gfx1250-only file.
Change-Id: Ic8dea8c0ab7ed01ceb7f51566508dc2bdc68cfcc
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
[MLIR] Implement mayHaveNonZeroOffset class
Generic MLIR analysis for alias is not enough as it has no information
for an offset alias. For example, without this patch, CIR ptr_stride
ptr, 0 and ptr_stride ptr, 1 are considered as MustAlias as they uses
the same base. However, there is still a chance for us to do precise
alias analysis and declare not alias by its implementation. As a
result, we provide a mayHaveNonZeroOffset interface method and
downgrade to MayAlias to give the underlying Dialect implementation a
chance to do AliasAnalysis.
unittests: Add more logging for failing plugin tests (#229945)
This will show the reason why the plugins failed to load which is
helpful for debugging.