perf(radv): reuse the cached mapping cursor #217

Open
github-bot wants to merge 6 commits from github-bot/gh-217 into main AGit
Owner

@⁠tommiehansen on GitHub · 2026-12-02 19:07 UTC · original
tommiehansen:perf/radv-shown-cursor → main · +47 −13 · 1 files · 6 commits · open

Why

RADV restarts a red-black tree search after every already-mapped fragment in a range, even when the matched entry is known and read-only.

What changes

Advance to the successor of a matching cached entry; re-search after an attempted update because it can invalidate the saved node. Preserve mapping writes, order, references and bookkeeping. No runtime switch.

Benchmark results

Reproducible CI result · head 52b3ad4f443d · Linux hosted CPU-only, Standard, four ABBA blocks (8 runs per arm).

Workload Baseline (ms) Candidate (ms) Time change Verification
RADV shown cursor model 0.171 0.124 −27.15% Identical

Baseline b581f7e. Synthetic model, not actual Mesa driver or GPU measurement; actual alias workload unsupported.

Negative values indicate reduced CPU time. Synthetic workloads, not gameplay FPS.

Historical fully cached 256-fragment walk: 256→1 root searches. Matched patch model 22,080→11,520 lookups, identical alias-state digest. Operation counts, not driver timing; actual alias workload unsupported.

Why this should be merged

Eliminate repeated root searches on fragmented cached spans without changing actual mappings. Scoped model benefit; live driver execution still required.

Validation

C differential harness using Mesa tree implementation, ASan/UBSan, 32,768 randomized operations with failure injection on earlier revision; current pinned audit. Full Mesa/RADV execution not established.

Compatibility and dependencies

Pinned Mesa 26.3.1. #222 independently changes shared patch hunk offsets; regenerate remaining patch after either lands and apply-check. #483 separate memory change.

Previous detailed description, historical measurements and checklist.

**@⁠tommiehansen** on GitHub · 2026-12-02 19:07 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/217) `tommiehansen:perf/radv-shown-cursor` → `main` · +47 −13 · 1 files · 6 commits · open ## Why RADV restarts a red-black tree search after every already-mapped fragment in a range, even when the matched entry is known and read-only. ## What changes Advance to the successor of a matching cached entry; re-search after an attempted update because it can invalidate the saved node. Preserve mapping writes, order, references and bookkeeping. No runtime switch. ## Benchmark results [Reproducible CI result](https://github.com/tommiehansen/VIctory-xmem/actions/runs/47503640056/job/145622974634) · head `52b3ad4f443d` · Linux hosted CPU-only, Standard, four ABBA blocks (8 runs per arm). | Workload | Baseline (ms) | Candidate (ms) | Time change | Verification | |---|---:|---:|---:|---| | RADV shown cursor model | 0.171 | 0.124 | **−27.15%** | Identical | Baseline `b581f7e`. Synthetic model, not actual Mesa driver or GPU measurement; actual alias workload unsupported. Negative values indicate reduced CPU time. Synthetic workloads, not gameplay FPS. Historical fully cached 256-fragment walk: 256→1 root searches. Matched patch model 22,080→11,520 lookups, identical alias-state digest. Operation counts, not driver timing; actual alias workload unsupported. ## Why this should be merged Eliminate repeated root searches on fragmented cached spans without changing actual mappings. Scoped model benefit; live driver execution still required. ## Validation C differential harness using Mesa tree implementation, ASan/UBSan, 32,768 randomized operations with failure injection on earlier revision; [current pinned audit](https://github.com/tommiehansen/VIctory-xmem/actions/runs/47466412636). Full Mesa/RADV execution not established. ## Compatibility and dependencies Pinned Mesa 26.3.1. #222 independently changes shared patch hunk offsets; regenerate remaining patch after either lands and apply-check. #483 separate memory change. [Previous detailed description, historical measurements and checklist](https://github.com/tommiehansen/VIctory-xmem/blob/04dd44857abe222961157663b89a4dfed4c7277c/archive/pr-descriptions-20261206.md).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 19:27:55 +00:00
github-bot force-pushed github-bot/gh-217 from a81ec58406 to f3dba55015 2026-12-02 19:39:37 +00:00 Compare
The mapping walk already finds the first cached overlap before it
chooses the next write range. The invalidation step searches the
same tree again even though the cache has not changed.

Pass that overlap into the invalidation step when it falls inside
the write range. Keep the existing split, removal, and mapping
operations under the same lock. The audit path still looks up its
own overlap before it clears mappings.

The Mesa patch applies to 26.3.1. A differential test with ASan
and UBSan matched 32,768 generated operations, including injected
mapping failures. Root searches fell from 56,798 to 28,399 in
that workload. Hardware benchmarking was unavailable.
Preserve the original RADV optimization on the current upstream Mesa patch. Recalculate affected inner unified-diff hunk counts and offsets, retaining upstream changes.
Author
Owner

@⁠tommiehansen on GitHub · 2026-12-03 19:59 UTC · original

Eliminated Remaining In-Loop Tree Lookup via match Reuse (8754a4b)

Updated radv_amdgpu_um_show in patches/mesa.patch to reuse the already-found future matching node across [at, stop) gap/mismatch fills instead of calling radv_amdgpu_um_tree_first again at the bottom of the loop.

Why it is sound

  • When the inner scan finds a matching node match, stop = match->start < to.
  • Because um->shown intervals are mutually disjoint, radv_amdgpu_um_shown_drop(um, shown, at, stop) stops strictly before match (leaving it untouched), and rb_tree_insert inserts [at, stop) before match.
  • Setting at = stop; shown = match; takes at most 1 RB-tree lookup per radv_amdgpu_um_show call (O(log N + K)). When no future match exists (match == NULL), stop == to exits the loop immediately.

Standalone C Model Benchmark & Differential Check (clang -O2 -Wall -Wextra -Werror, A/B/B/A 8 blocks, 16,384-node RB-tree)

Scenario origin/main Previous PR #217 Updated PR #217 (8754a4b) Delta
Fully shown (64 segments) 2,259.8 ns (64.0 lookups/call) 285.2 ns (1.0 lookup) 302.7 / 281.2 ns (1.0 lookup) -86.60% vs main
Alternating gap + match 2,380.9 ns (96.0 lookups/call) 1,242.2 ns (33.0 lookups) 890.6 / 867.2 ns (1.0 lookup) -62.59% vs main / -30.19% vs old #217
Alternating mismatch + match 2,550.8 ns (96.0 lookups/call) 1,441.4 ns (33.0 lookups) 1,328.1 / 1,326.2 ns (1.0 lookup) -47.93% vs main / -7.99% vs old #217
  • Differential correctness test: 2,000 randomized show / blank sequences across overlapping, partial, gap-filled, mismatched, and matching BOs verified byte-identical RB-tree intervals, counts[0..1], um_shown refcounts, and mirror update hashes across origin/main, old #217, and 8754a4b (3,578 -> 2,000 total lookups).
  • Patch & policy checks: verify_patch.py confirmed all 39 hunks / 0 errors in patches/mesa.patch; cargo --offline xtask policy --staged passed (1 file ok).
  • Known limitations: Verified on macOS ARM64 via a standalone C RB-tree model matching Mesa's rb_tree / radv_amdgpu_um_show logic; full Mesa compilation and live RADV/AMD GPU execution require external Linux hardware.
**@⁠tommiehansen** on GitHub · 2026-12-03 19:59 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/217#issuecomment-7390550287) ### Eliminated Remaining In-Loop Tree Lookup via `match` Reuse (`8754a4b`) Updated `radv_amdgpu_um_show` in `patches/mesa.patch` to reuse the already-found future matching node across `[at, stop)` gap/mismatch fills instead of calling `radv_amdgpu_um_tree_first` again at the bottom of the loop. #### Why it is sound - When the inner scan finds a matching node `match`, `stop = match->start < to`. - Because `um->shown` intervals are mutually disjoint, `radv_amdgpu_um_shown_drop(um, shown, at, stop)` stops strictly before `match` (leaving it untouched), and `rb_tree_insert` inserts `[at, stop)` before `match`. - Setting `at = stop; shown = match;` takes **at most 1 RB-tree lookup per `radv_amdgpu_um_show` call** (`O(log N + K)`). When no future match exists (`match == NULL`), `stop == to` exits the loop immediately. #### Standalone C Model Benchmark & Differential Check (`clang -O2 -Wall -Wextra -Werror`, A/B/B/A 8 blocks, 16,384-node RB-tree) | Scenario | `origin/main` | Previous PR #217 | Updated PR #217 (`8754a4b`) | Delta | | --- | ---: | ---: | ---: | --- | | Fully shown (64 segments) | 2,259.8 ns (64.0 lookups/call) | 285.2 ns (1.0 lookup) | 302.7 / 281.2 ns (1.0 lookup) | **-86.60%** vs main | | Alternating gap + match | 2,380.9 ns (96.0 lookups/call) | 1,242.2 ns (33.0 lookups) | 890.6 / 867.2 ns (1.0 lookup) | **-62.59%** vs main / **-30.19%** vs old #217 | | Alternating mismatch + match | 2,550.8 ns (96.0 lookups/call) | 1,441.4 ns (33.0 lookups) | 1,328.1 / 1,326.2 ns (1.0 lookup) | **-47.93%** vs main / **-7.99%** vs old #217 | - **Differential correctness test:** 2,000 randomized `show` / `blank` sequences across overlapping, partial, gap-filled, mismatched, and matching BOs verified byte-identical RB-tree intervals, `counts[0..1]`, `um_shown` refcounts, and mirror update hashes across `origin/main`, old #217, and `8754a4b` (3,578 -> 2,000 total lookups). - **Patch & policy checks:** `verify_patch.py` confirmed all 39 hunks / 0 errors in `patches/mesa.patch`; `cargo --offline xtask policy --staged` passed (1 file ok). - **Known limitations:** Verified on macOS ARM64 via a standalone C RB-tree model matching Mesa's `rb_tree` / `radv_amdgpu_um_show` logic; full Mesa compilation and live RADV/AMD GPU execution require external Linux hardware.
Author
Owner

@⁠CorvetteCole on GitHub · 2026-12-04 01:36 UTC · original

Hardware numbers on RDNA3 at native 1440p. I tested this together with #222 (both on top of 45591b0's patches/mesa.patch), so the result below is for the pair, not this PR alone.

Setup

  • GPU: RX 7900 XTX (RDNA3 / GFX11), Linux, Mesa 26.3.1 (fec8830) built from each patches/mesa.patch with the same options as the pinned build (meson --buildtype release -Db_ndebug=true, -O3, vulkan-drivers=amd, llvm off).
  • Game build: 45591b0 with VKD3D_UNTYPED_VEC_SSBO=1 (local, not in this repo), native 1440p (VICTORY_RENDER_SCALE=1.0), VICTORY_SHADER_OPT=63, VICTORY_WARM=0.
  • Patches under test: this PR at 8754a4b and #222 at d20f287, applied on top of 45591b0's mesa.patch (this PR's patch plus #222's source delta, no conflicts, 2 files, +21/−7).
  • Method: ABBA, 85 s per run, a separate Mesa install selected per run through the ICD json (each log shows the ICD that loaded), a separate shader/victory cache per arm, drops=0 on every run. Frame time is the mean of the last 8 samples.

Frame time

Comparison Before After Delta
pinned (baf0468) mesa.patch → 45591b0 mesa.patch 36.28 ms (36.30 / 36.25) 36.43 ms (36.40 / 36.45) +0.15 ms (+0.4%), noise
45591b0 mesa.patch → + this PR + #222 36.50 ms (36.39 / 36.60) 36.28 ms (36.19 / 36.36) −0.22 ms (−0.6%) — within noise, but the right direction (−0.18 ms against the mean of all four 45591b0 runs, 36.46 ms)

Same scene on every arm; I compared captures from the three Mesa builds and they look identical apart from the animated TV content.

Why it can't move much here (from the "unified memory on the card" counters, final line of each ~80 s run)

  • Counts match across all builds, as expected for a CPU-only change: ranges written 30.4–31.5k, "already there" 8.8–9.7k, unmaps left 10.2–10.9k.
  • "maps not shown" is 1 on every run (pinned, 45591b0, and with this PR). So the identical-hidden-alias early exit added in 3b73abe never fires in this workload.
  • On every build, including 45591b0's own Mesa, the game logs "the driver does not move single pages … each pool stays where it starts". pages_move() in um.rs fails its probe here, so the page-pool path from d08da1a is not active on this card with Mesa 26.3.1. Someone with a different driver stack may want to check whether it ever succeeds.

So on this card I can confirm the patch is safe (no visual or stability difference, drops=0) but see no frame-time change beyond noise; the effect of the cursor change on CPU time per submit isn't something this frame-time measurement can resolve. If you want a CPU-side number I can add one — say which counter or log line.

**@⁠CorvetteCole** on GitHub · 2026-12-04 01:36 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/217#issuecomment-7398024115) Hardware numbers on RDNA3 at native 1440p. I tested this together with #222 (both on top of `45591b0`'s `patches/mesa.patch`), so the result below is for the pair, not this PR alone. ### Setup - **GPU:** RX 7900 XTX (RDNA3 / GFX11), Linux, Mesa 26.3.1 (`fec8830`) built from each `patches/mesa.patch` with the same options as the pinned build (`meson --buildtype release -Db_ndebug=true`, `-O3`, `vulkan-drivers=amd`, llvm off). - **Game build:** `45591b0` with `VKD3D_UNTYPED_VEC_SSBO=1` (local, not in this repo), native 1440p (`VICTORY_RENDER_SCALE=1.0`), `VICTORY_SHADER_OPT=63`, `VICTORY_WARM=0`. - **Patches under test:** this PR at `8754a4b` and #222 at `d20f287`, applied on top of `45591b0`'s `mesa.patch` (this PR's patch plus #222's source delta, no conflicts, 2 files, +21/−7). - **Method:** ABBA, 85 s per run, a separate Mesa install selected per run through the ICD json (each log shows the ICD that loaded), a separate shader/victory cache per arm, `drops=0` on every run. Frame time is the mean of the last 8 samples. ### Frame time | Comparison | Before | After | Delta | |---|---:|---:|---:| | pinned (`baf0468`) `mesa.patch` → `45591b0` `mesa.patch` | 36.28 ms (36.30 / 36.25) | 36.43 ms (36.40 / 36.45) | +0.15 ms (+0.4%), noise | | `45591b0` `mesa.patch` → + this PR + #222 | 36.50 ms (36.39 / 36.60) | 36.28 ms (36.19 / 36.36) | **−0.22 ms (−0.6%)** — within noise, but the right direction (−0.18 ms against the mean of all four `45591b0` runs, 36.46 ms) | Same scene on every arm; I compared captures from the three Mesa builds and they look identical apart from the animated TV content. ### Why it can't move much here (from the "unified memory on the card" counters, final line of each ~80 s run) - Counts match across all builds, as expected for a CPU-only change: ranges written 30.4–31.5k, "already there" 8.8–9.7k, unmaps left 10.2–10.9k. - **"maps not shown" is `1` on every run** (pinned, `45591b0`, and with this PR). So the identical-hidden-alias early exit added in `3b73abe` never fires in this workload. - **On every build, including `45591b0`'s own Mesa, the game logs "the driver does not move single pages … each pool stays where it starts".** `pages_move()` in `um.rs` fails its probe here, so the page-pool path from `d08da1a` is not active on this card with Mesa 26.3.1. Someone with a different driver stack may want to check whether it ever succeeds. So on this card I can confirm the patch is safe (no visual or stability difference, `drops=0`) but see no frame-time change beyond noise; the effect of the cursor change on CPU time per submit isn't something this frame-time measurement can resolve. If you want a CPU-side number I can add one — say which counter or log line.
Author
Owner

@⁠Luxuride on GitHub · 2026-12-04 12:02 UTC · original

This is the kind of small, sane mesa change worth landing — it is also unmeasurable as sent, and it is a hand-edited patch file, so it will rot within weeks if it sits.

  • patches/mesa.patch:268: the hunk header @@ -348,6 +351,1431 @@ becomes +1438 here and +1437 in #222. Both merge cleanly one at a time and cannot both land: the second has to regenerate the patch, and the count must then match exactly, because setup.sh:72 applies it with git -C "$dir" apply --index "$patch" and validates hunk counts. A wrong count breaks ./setup.sh for everyone.
  • patches/mesa.patch:866 shown = match; drops the re-search the old loop did after each drop. That is sound only if nothing at stop survives shown_drop — but shown_drop (:800-812) can create a tail starting at stop when an alias spans the boundary, and rb_tree_insert with an equal key fails, so that tail is silently lost. Narrow, but it is the failure mode (a mapped page the driver has forgotten) that shows up as corruption hours in.

The patch already prints counts[] every 10 s, so one before/after of counts[0] plus wall time in radv_amdgpu_winsys_bo_alias_map would settle the claim. Regenerate against current patches/mesa.patch, add that number, and it is a five-minute merge.

**@⁠Luxuride** on GitHub · 2026-12-04 12:02 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/217#issuecomment-7410885958) This is the kind of small, sane mesa change worth landing — it is also unmeasurable as sent, and it is a hand-edited patch file, so it will rot within weeks if it sits. - `patches/mesa.patch:268`: the hunk header `@@ -348,6 +351,1431 @@` becomes `+1438` here and `+1437` in #222. Both merge cleanly one at a time and cannot both land: the second has to regenerate the patch, and the count must then match exactly, because `setup.sh:72` applies it with `git -C "$dir" apply --index "$patch"` and validates hunk counts. A wrong count breaks `./setup.sh` for everyone. - `patches/mesa.patch:866` `shown = match;` drops the re-search the old loop did after each drop. That is sound only if nothing at `stop` survives `shown_drop` — but `shown_drop` (`:800-812`) can create a `tail` starting at `stop` when an alias spans the boundary, and `rb_tree_insert` with an equal key fails, so that tail is silently lost. Narrow, but it is the failure mode (a mapped page the driver has forgotten) that shows up as corruption hours in. The patch already prints `counts[]` every 10 s, so one before/after of `counts[0]` plus wall time in `radv_amdgpu_winsys_bo_alias_map` would settle the claim. Regenerate against current `patches/mesa.patch`, add that number, and it is a five-minute merge.
Author
Owner

@⁠tommiehansen on GitHub · 2026-12-04 12:43 UTC · original

@⁠Luxuride Thanks for checking both the hunk headers and the shown = match; tail-split invariant! Pushed commit 9afefcc with #ifndef NDEBUG invariant assertions and a regenerated patches/mesa.patch:

  1. Disjointness & shown = match; invariant proof:
    • Audited all um->shown mutation sites in radv_amdgpu_bo.c: &um->shown only inserts at two sites — radv_amdgpu_um_shown_drop (tail at [end, shown_end) when shown_end > end) and radv_amdgpu_um_show (made at [at, stop) after dropping overlaps on [at, stop)) — and shrinks/removes cleanly in shown_drop and bo_destroy. By induction (even under allocation/mirror failure), intervals in um->shown are strictly disjoint (prev->start + prev->size <= cur->start).
    • Inside radv_amdgpu_um_show:
      • When match == NULL, stop == to, at advances to to, and the while (at < to) loop terminates without dereferencing shown = NULL. (If a tail is split at to, it lies at [to, shown_end), past the range.)
      • When match != NULL, match is an existing node in um->shown with at < stop = match->start < to. By disjointness, no node x with x->start < stop can have x->start + x->size > stop (that would overlap match), and radv_amdgpu_um_shown_drop(um, shown, at, stop) exits strictly before match. Thus no tail can be created at stop, made occupies [at, stop) disjointly before match, and shown = match equals radv_amdgpu_um_tree_first(&um->shown, at, to).
  2. Debug-only invariant checks & C differential tests:
    • Added #ifndef NDEBUG radv_amdgpu_um_assert_disjoint(&um->shown) and exact assertions verifying shown == (at < to ? radv_amdgpu_um_tree_first(&um->shown, at, to) : NULL) after cursor updates in radv_amdgpu_um_show (zero overhead under -DNDEBUG / setup.sh -Db_ndebug=true).
    • Compiled and ran a C differential harness linking Mesa 26.3.1's src/util/rb_tree.c (at -O0, -O2, and -O2 -DNDEBUG, comparing against full tree_first re-lookup after every step) covering empty/exact boundaries, adjacent aliases, matching and mismatching BO offsets, split tails before/after matches, simulated calloc OOMs on both tail and made, mirrors_update failures, and 50,000 randomized operations (show, blank, bo_destroy): 0 mismatches, 706 hits / 35,490 fills identical.
  3. Regenerated patch & CPU patch-model verification:
    • Regenerated patches/mesa.patch cleanly from pinned mesa-26.3.1 (git diff) and verified git apply --index patches/mesa.patch exits 0 against clean mesa-26.3.1 (all 15 files).
    • Ran #322 Standard mapping comparison (45591b0 vs 9afefcc, CPU patch model only, 4 paired blocks): mapping/radv_shown_cursor_model reported 0.061 → 0.046 ms (−23.65%, p = 0.0062, identical digests, tree_lookups: 22,080 → 11,520). Live mapping/radv_um_alias is Unsupported on macOS, so live Linux RADV counts[0] and wall-time impact still require hardware testing.

(Separate #222 hunk regeneration and clean independent + combined patch application check are being posted on #222 without stacking the PRs.)

**@⁠tommiehansen** on GitHub · 2026-12-04 12:43 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/217#issuecomment-7411833574) @⁠Luxuride Thanks for checking both the hunk headers and the `shown = match;` tail-split invariant! Pushed commit [`9afefcc`](https://github.com/tommiehansen/VIctory-xmem/commit/9afefcc) with `#ifndef NDEBUG` invariant assertions and a regenerated `patches/mesa.patch`: 1. **Disjointness & `shown = match;` invariant proof:** - Audited all `um->shown` mutation sites in `radv_amdgpu_bo.c`: `&um->shown` only inserts at two sites — `radv_amdgpu_um_shown_drop` (`tail` at `[end, shown_end)` when `shown_end > end`) and `radv_amdgpu_um_show` (`made` at `[at, stop)` after dropping overlaps on `[at, stop)`) — and shrinks/removes cleanly in `shown_drop` and `bo_destroy`. By induction (even under allocation/mirror failure), intervals in `um->shown` are strictly disjoint (`prev->start + prev->size <= cur->start`). - Inside `radv_amdgpu_um_show`: - When `match == NULL`, `stop == to`, `at` advances to `to`, and the `while (at < to)` loop terminates without dereferencing `shown = NULL`. (If a tail is split at `to`, it lies at `[to, shown_end)`, past the range.) - When `match != NULL`, `match` is an existing node in `um->shown` with `at < stop = match->start < to`. By disjointness, no node `x` with `x->start < stop` can have `x->start + x->size > stop` (that would overlap `match`), and `radv_amdgpu_um_shown_drop(um, shown, at, stop)` exits strictly before `match`. Thus no `tail` can be created at `stop`, `made` occupies `[at, stop)` disjointly before `match`, and `shown = match` equals `radv_amdgpu_um_tree_first(&um->shown, at, to)`. 2. **Debug-only invariant checks & C differential tests:** - Added `#ifndef NDEBUG` `radv_amdgpu_um_assert_disjoint(&um->shown)` and exact assertions verifying `shown == (at < to ? radv_amdgpu_um_tree_first(&um->shown, at, to) : NULL)` after cursor updates in `radv_amdgpu_um_show` (zero overhead under `-DNDEBUG` / `setup.sh` `-Db_ndebug=true`). - Compiled and ran a C differential harness linking Mesa 26.3.1's `src/util/rb_tree.c` (at `-O0`, `-O2`, and `-O2 -DNDEBUG`, comparing against full `tree_first` re-lookup after every step) covering empty/exact boundaries, adjacent aliases, matching and mismatching BO offsets, split tails before/after matches, simulated `calloc` OOMs on both `tail` and `made`, `mirrors_update` failures, and 50,000 randomized operations (`show`, `blank`, `bo_destroy`): **0 mismatches**, 706 hits / 35,490 fills identical. 3. **Regenerated patch & CPU patch-model verification:** - Regenerated `patches/mesa.patch` cleanly from pinned `mesa-26.3.1` (`git diff`) and verified `git apply --index patches/mesa.patch` exits 0 against clean `mesa-26.3.1` (all 15 files). - Ran `#322` Standard mapping comparison (`45591b0` vs `9afefcc`, CPU patch model only, 4 paired blocks): `mapping/radv_shown_cursor_model` reported `0.061 → 0.046 ms` (−23.65%, `p = 0.0062`, `identical` digests, `tree_lookups`: `22,080 → 11,520`). Live `mapping/radv_um_alias` is `Unsupported` on macOS, so live Linux RADV `counts[0]` and wall-time impact still require hardware testing. *(Separate #222 hunk regeneration and clean independent + combined patch application check are being posted on #222 without stacking the PRs.)*
github-bot changed title from Reuse the RADV cached mapping cursor to perf(radv): reuse the cached mapping cursor 2026-12-04 22:19:48 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/217/head:github-bot/gh-217'
git switch 'github-bot/gh-217'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-217'
git switch 'github-bot/gh-217'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-217'
git switch 'github-bot/gh-217'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-217'
git switch 'main'
git merge --squash 'github-bot/gh-217'
git switch 'main'
git merge --ff-only 'github-bot/gh-217'
git switch 'main'
git merge 'github-bot/gh-217'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.