timeline: name the line's page-mapping jobs #439
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!439
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-439"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Benflex1 on GitHub · 2026-12-04 03:38 UTC · original
Benflex1:timeline-map-label→main· +1 −0 · 1 files · 1 commits · merged 2026-12-04 18:48 UTCProblem
In
queue/behind.rs,Job::gonames each job's timeline span.Job::Map(aCopyPageMappingsbatch applied on the line) has no arm of its own, so it falls into_ =>and shows up as "the line: a wait that is met".Wait,ValueandListsare the jobs that arm was meant for, and they do nothing there.On a camera-turn replay this hid 3–14 ms per frame of page-mapping work on the submitting thread. It looked like idle fence waiting, so it was easy to overlook (data in #365).
Change
One arm:
Job::Map(..) => "the line: page mappings". Timeline span name only; no behaviour change. Builds with and withoutdiagnostics; rustfmt clean.@Luxuride on GitHub · 2026-12-04 11:16 UTC · original
Read this one against its merge base rather than the branch tip, since the branch is ~42 commits behind.
The change is the right one and there is nothing I would ask for:
Job::Mapis the only job in the match atcrates/victory-gpu/src/queue/behind.rs:721-725that both does real work (Job::Map(apply) => apply()at:778) and fell into_ => "the line: a wait that is met", so the old label was wrong rather than merely vague.timeline::spanis not feature-gated, so the new string is compiled in both profiles, and nothing anywhere asserts these span names (grep "the line:"finds only this file).Ship it.