Opened by a workflow run, Nov 29, 2026 9:04 PM EST. decide malicious: all_clear (100%): No malicious content found
explore
- This is a one-day-old regression fix against a merged maintainer PR, not a new feature. Issue #616 (open, P2, labels
area:memory,area:preparation,area:selene,bug,performance,triage:investigate) reports 914.6 s inPrepare host prefix cachefor a 119.4 GiB slab (133,790 slots), versus 71.1 s withdefrag=defer. It attributes the regression explicitly to merged PR #589 (Luke Alonso, 2026-11-28 22:18), whoseeos/src/unix.rshunk replacedMAP_POPULATEwithmadvise(MADV_HUGEPAGE)followed by onemadvise(MADV_POPULATE_WRITE). #625 rewrites that same function (+1008/−54) while keeping #589's intent (huge pages when available) — so it builds on, and partially reverses, work merged two days before it. - Undeclared behaviour changes in the allocator. The description frames chunking as part of the synchronous-compaction strategy, but
POPULATE_CHUNK_BYTES = 64 MiBapplies to every policy and to non-Linux Unix (eos/src/unix.rs:88,populate_chunks:462, non-Linux branch :671-679). Error handling is also reversed: previously anyMADV_POPULATE_WRITEfailure silently fell back to volatile writes; now onlyEINVAL/ENOSYSfall back and everything else propagates (:446-453), and the mapping ismunmaped (MappingGuarddrop,:173) —SlabPool::newturns that into a hardinvalid("allocate host slots: …")(selene/src/slab.rs:164-165). That new failure mode is not in the description's compatibility section. - Side effects of putting kernel introspection inside the allocator.
map_hostnow reads/sys/kernel/mm/transparent_hugepage/*,/proc/buddyinfoand/proc/vmstaton every call (eos/src/unix.rs:383, :272, :572), including for 4 KiB/8 KiB test pools and for pool staging viaRegion::anonymous(selene/src/pool/shm.rs:78). After a mid-slab fallback the final whole-range advice isMADV_NOHUGEPAGEeven when the policy did not need it, because the branch compares onlyfell_back(:611-616) — so THP hints are dropped for the whole slab, head included. When both ends are PMD-aligned the code shrinks the huge-page interior by one PMD (:542-550), so the last PMD of such slabs is always base pages. - **Claims are backed in code but the headline
(No summary was written: this is the report's Key findings section.)
Classify intake
Selected: triage:review, priority:P2, bug, performance, area:memory, area:selene
Threshold: 65%
Triage
- [✓]
triage:review: 99.3% -
triage:validation: 0.6% -
triage:design-review: 0.1% -
none: 0.0% -
triage:integration: 0.0% -
triage:investigate: 0.0% -
triage:partial: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Priority
- [✓]
priority:P2: 92.2% -
priority:P1: 6.7% -
none: 1.2%
Type
- [✓]
performance: 98.0% - [✓]
bug: 96.7% -
community: 43.8% -
enhancement: 16.5% -
duplicate: 7.6% -
documentation: 0.4%
Area
- [✓]
area:selene: 91.5% - [✓]
area:memory: 90.5% -
area:preparation: 50.0% -
area:api: 29.4% -
area:caching: 26.9% -
area:orbit: 1.6% -
area:scheduling: 0.6% -
area:engram: 0.5% -
area:packaging: 0.5% -
area:kernels: 0.3% -
area:rocenante: 0.2%
Model
-
model:kimi-k3.1: 1.2% -
model:nemotron-3.5-bolt: 0.9% -
model:qwen3.8-27b: 0.4% -
model:deepseek-v4: 0.3% -
model:glm-5.3: 0.3% -
model:muse-glimmer: 0.3% -
model:deepseek-v4.1: 0.2% -
model:inkling-small: 0.1% -
model:mimo-v2.6: 0.1% -
model:qwen3.8-flash-next: 0.1% -
model:gemma4: 0.0%
Apply Labels (Intake)
Applied: +triage:review, +priority:P2, +bug, +performance, +area:memory, +area:selene
Value Proposition
Value Proposition — PR #625: Avoid THP compaction stalls in eos::map_host
Charter alignment — in scope. This fixes a reproducible, operator-reported regression (#616: 914.6 s in Prepare host prefix cache for a 119.4 GiB slab on fragmented Linux memory), which the charter lists as mergeable ("a reproducible bug… a measured performance/memory issue"). It serves the roadmap goal of storing prefix-cache checkpoints in host memory and sharing them via Selene. It adds no model aliases, switches, backends or hardware breadth, so no non-goal is engaged. It is host allocator code, not CUDA kernel code, so the kernel-review rule doesn't apply.
Novelty & status — genuinely additive, not superseded. No fix exists on main; #616 is still open; the dossier finds no competing THP-compaction proposal. It does partially reverse #589 (merged 2026-11-28, by priority contributor @lukealonso) while preserving its intent (huge pages when available) — a correction, not a revert. That interaction requires owner sign-off.
Value vs maintenance cost. The root cause is corroborated by the reporter's own A/B (#616: 914.6 s under defrag=madvise vs 71.1 s with defer) — stronger evidence than the author's standalone harness. But the charter's bar ("an actual speedup over main on a served workload (#210)") is explicitly unmet: the PR concedes "not yet timed inside a live flare run launch", and no benchmark harness or logs are committed. Cost is substantial: +1008/−54 in the highest-risk shared function, ~600 lines of new implementation and tests, compile-time-only heuristic constants (nearest the #215 "no magic defaults" rule), new /sys and /proc I/O on every map_host call including 4 KiB test pools and pool staging, undeclared behaviour changes (64 MiB chunking universal across policies and non-Linux Unix), reversed error handling that makes non-EINVAL/ENOSYS population failures fatal at startup, a whole-range MADV_NOHUGEPAGE after any mid-slab fallback, likely textual conflict with open #576, and semantic collision with #323's pending refactor of the same prepare_with_inputs* signatures. CI also failed on head with an undetermined cause.
Verdict: Worth it with changes. Merge blockers: (1) an end-to-end flare run timing versus main on #616's configuration; (2) docs/description corrections for the universal chunking and stricter error path, plus a docs/TODO.txt entry for unrun checks; (3) a green CI run; (4) reconciliation with #576 and #323; (5) explicit eos/offload owner approval given the #589 dependency.
Full report Decide Value: yes (100%): This change is worth reviewing: it provides value to the project in line with its charter.
Subtraction and simplicity
Subtraction/Simplicity/Conventions lens on PR #625: the diff is mostly lean; three simplifications, one substantial.
selene/src/offload.rs:702-735— the new timing instrumentation duplicates a 9-line populate/timer/register/timer block byte-for-byte across thetry_sized_by_rankNonearm (:713-723) and theelsearm (:725-735).mainhad the same two arms with 3 lines each (selene/src/offload.rs:642-658), so the PR inflated a tolerable duplication to ~18 removable lines. Collapse to one split attempt + onematch split { Some(pool) => pool, None => {populate, register} }; the step sequences the new tests assert (selene/src/offload/tests.rs:1230-1237,:1288-1292) and the timer resets survive.helios/src/offload/mod.rs:82-99—prepare_with_inputs_budgetis now a pass-through whose only content is|_| {}; its sole workspace consumer ishelios::prepare_with_inputs(:79) and the real caller moved to_with_progress(helios/src/runtime_core/model.rs:966). Pointprepare_with_inputsdirectly at_with_progressand delete the middle rung (or document its external-API intent).eos/src/unix.rs:116-121+:625-632—PopulationMode::BasePagesandKernelDefaultOpportunisticalready share one match arm with identical behaviour; collapse to one variant and drop the test-matrix row (:912-914). Optional rider:ThpPolicy.page_size(:126) only ever holdspage_size().
Checked and found lean: the 19× cfg_attr(allow(dead_code)) (repo idiom), the new sysfs/proc parsers (no existing eos helper), MappingGuard/map_host_with (test seam), PrepareTimings, the single on_step closure, and the new test fixtures.
Conventions: AGENTS.md:57-59 requires unrun checks in docs/TODO.txt; the unmeasured flare run timing lives only in the PR description and no TODO entry is added.
Open questions: whether the helios wrapper is supported external API; whether the four-way mode enum is deliberate documentation; rebase interaction with #323/#576; and which CI job failed on 9639e57, so none of these edits was build-verified.
Correctness and contracts
Correctness/contracts/system review of PR #625 (head 9639e57). Three Major defects in the new eos/src/unix.rs allocator, all in the added guard logic, plus one charter gap. The rest of the change checks out.
Findings (severity · citation):
- Major ·
eos/src/unix.rs:272-328+:564-571— the/proc/buddyinfoguard sumsNormal/Movablefree huge pages across all NUMA nodes (node index never parsed) and gates each PMD chunk on that total. On #616's two-NUMA host (node 0 order-10=1,860 vs node 1=311) node-1 supply can mask node-0 exhaustion, so the stall the PR fixes can still occur. Fix: parseNode N,, require min-over-allowed-nodes ≥ required. - Major ·
eos/src/unix.rs:406-410,:587-594,:611-616— the second guard samples/proc/vmstat compact_stall, a system-wide since-boot counter; any co-tenant compaction during a chunk setsfell_back(after > before), after which the entire mapping permanently getsMADV_NOHUGEPAGE. Load-dependent, silent huge-page loss on a 119 GiB slab. Fix: requirecompact_stall+compact_failto advance over consecutive chunks, or use latency only. - Major ·
eos/src/unix.rs:445-453+:659-661+:173-180→selene/src/slab.rs:164-165— error handling reversed:main:eos/src/unix.rs:109-117degraded to volatile writes on anymadvisefailure; now onlyEINTR/EINVAL/ENOSYSare tolerated, everything else munmaps and becomes a fatalallocate host slots:startup error. A transientENOMEMunder the very memory pressure this PR targets now abortsflare run. Not in the compatibility section; no end-to-end test. - Minor · Windows divergence:
EINVAL-on-zero and all policy logic are Unix-only;eos/src/windows.rs:166-195unchanged (monolithic zero loop); docs now describe Linux only. - Minor ·
eos/src/unix.rs:1184-1191(and:1077-1141) assert a single VMA from process-global/proc/self/smapsin a multi-threaded test binary — plausible flake; failing CI job on 9639e57 not retrievable, so unproven. - Minor ·
BasePages/EagerHugepage/KernelDefaultOpportunisticbranches (:620-650) have no end-to-end test; fatal errno path only covered by a syntheticENOMEM(:822-831). - Minor ·
PrepareTimings.slab_populate(selene/src/offload.rs:331-340) is overloaded as "allocate" (split-by-rank,:706-712) and "populate" (contiguous,:726-733), relabelled insummary()byrank_parts()(:419-431); summary text shape changes. - Major (process) · charter #210: the 128.56 s → 30.99 s figure is a standalone harness with no committed script or log, and the PR admits "not yet timed inside a live
flare runlaunch". No served A/B, nodocs/TODO.txtentry perAGENTS.md:52-59(not opened).
Verified sound: signature preserved (:664), MappingGuard commit/drop (:139-181), EINTR retry, policy parsing and 24-cell matrix test (:866-930), adaptive chunk geometry and single-VMA merge (:502-616), step/timer resets (selene/src/offload.rs:713-723), restore-only summaries byte-identical (selene/src/offload/tests.rs:1345-1376), phase label and StartupStage::PrepareHostPrefixCache unchanged (helios/src/runtime_core/model.rs:934), no proto/ABI change.
Open: which CI job failed on 9639e57 and why (unretrievable; Windows hypothesis disproved since eos/src/unix.rs is #[cfg(unix)]); whether the strict errno propagation breaks startup under pressure; the actual served-workload speedup; unreconciled overlap with #323 (same prepare_with_inputs* signatures) and #576 (same file).
Final review
Recommendation: Changes Requested
The core allocator rewrite in eos/src/unix.rs and startup timing/progress plumbing in selene and helios are technically sound, well-reasoned, and directly address the THP direct-compaction root cause reported in #616 (including preserving a single merged VMA via pre-anchored anon_vma and whole-range final madvise). However, CI failed on head 9639e57 (cause not retrievable from repo metadata), the Charter #210 served flare run verification gap is neither run nor recorded in docs/TODO.txt (AGENTS.md:57-59), and a couple of targeted NUMA/multi-tenant guard improvements plus a clean deduplication in selene/src/offload.rs should be resolved before merge.
Merge Risk
Level: Medium
- Shared allocator blast radius (
eos/src/unix.rs): Every host prefix-cache slab (selene/src/slab.rs:164), remote pool staging buffer (selene/src/pool/shm.rs:78), and CUDA host-registration test (helios/src/cuda.rs:1599 (not opened),1665) allocates througheos::map_host. The policy matrix, chunkedMADV_POPULATE_WRITE, RAIIMappingGuard, and single-VMA merge geometry are verified sound, but the Linux-specific adaptive heuristics have no runtime override and CI is currently failing on head9639e57. - Single-VMA & lifetime invariants preserved: Pre-anchoring one shared
anon_vmaon the unsplit mapping (eos/src/unix.rs:531-550) keeps peak VMA count bounded to at most 3 during the entire adaptive loop and collapses back to 1 VMA beforecuMemHostRegister_v2/ibv_reg_mr(eos/src/unix.rs:609-616).MappingGuard(:139-181) prevents leaked mappings on population errors. - Cross-PR overlap & observability: Open PRs #576 (
eos/src/unix.rs) and #323 (selene/src/offload.rs,selene/src/offload/tests.rs,helios/src/offload/mod.rs,helios/src/runtime_core/model.rs,docs/prefix-cache-offload.md) overlap on the same files andprepare_with_inputs*signature family.Prepared::summary()appends elapsed durations inside existing parenthetical clauses (selene/src/offload.rs:415-475); no in-repo test asserts the old text.
Walkthrough
eos/src/unix.rs:86-680: Rewritesmap_hostbehindmap_host_with+ RAIIMappingGuard(unmaps on population error, rejectsbytes == 0withEINVAL), retriesMADV_POPULATE_WRITEonEINTRwith volatile-write fallback only onEINVAL/ENOSYS, and adds Linux THP sysfs detection (enabled,defrag,hpage_pmd_sizewith 2/32/512 MiB portable defaults) selecting amongBasePages,EagerHugepage,KernelDefaultOpportunistic, andAdaptiveHugepage(growing PMD-aligned chunks up tomax(16 MiB, hpage_pmd_size),/proc/buddyinforeserve checks, chunk latency +/proc/vmstatcompact_stallfallback to 64 MiB base-page chunks, and final whole-rangemadviseVMA merge). Adds ~440 lines of unit and live/proc/self/smapstests (:769-1202).selene/src/offload.rs:328-480, 573-795: AddsPrepareTimings(slab_populate,cuda_register,disk_scan) toPrepared, addsprepare_with_inputs_budget_with_progress(..., on_step: impl FnMut(&str))while keeping existing entry points, instruments split allocation, split→contiguous fallback, contiguous populate/CUDA registration, and disk scanning, and appendsallocate/populate/register/scandurations toPrepared::summary().selene/src/offload/tests.rs:1107-1380: Adds four unit tests covering split-by-rank, split→contiguous fallback, contiguous+disk, and restore-only step sequences, timings, and summary strings.helios/src/offload/mod.rs:30-33, 82-120&helios/src/runtime_core/model.rs:966-980: Re-exportsPrepareTimings, forwardsprepare_with_inputs_budget_with_progress, and wires|step| phase.detail(step)intoNativeModel::prepare_offloadwithout changing thePrepare host prefix cachephase label orStartupStage.docs/prefix-cache-offload.md:516-535, 986-995: Documents the Linux THP policy-aware population and single-VMA merging (§2.5) and the live step details and per-step timings (§2.11).
Pre-merge Checks
- [PASS] Security / malicious screen: Read-only
/sys/kernel/mm/transparent_hugepage/*,/proc/buddyinfo, and/proc/vmstatreads plus standardmmap/madvise/munmapsyscalls; no new dependencies, env vars, network I/O, or unsafe external input handling. - [WARN] Charter & value fit: Directly addresses reproducible bug #616 (caused by #589) in the right layer without adding switches or model-specific logic, but lacks a served
flare runA/B measurement (Charter #210 /docs/design-review.md:109-115) and omits adocs/TODO.txtentry for unrun checks (AGENTS.md:57-59); also warrantseos/offload owner sign-off given the #589 dependency. - [WARN] Related / duplicate / conflict check: Not duplicated on
main(andselene-manager/src/arena.rs:93remains separate/out-of-scope); likely rebase/API coordination needed with open #576 (eos/src/unix.rs) and #323 (prepare_with_inputs*signatures and offload docs). - [WARN] Tests & verification evidence: Strong unit tests and standalone SM120/SM121 A/B + CUDA DMA checks are reported, but CI failed on head
9639e57and end-to-endflare run/tests/server/test_prefix_cache_offload.py(not opened) remain unrun.
Blockers
- Failing CI on head
9639e57: CI reported a failure on the current head across the applicable workflows (.github/workflows/native-serving.yml(not opened),.github/workflows/helios-lifecycle.yml(not opened)), and the failing job log is not available in the repository metadata. Fix: Inspect the failing CI leg, fix any regression (or re-run if it is the pre-existingselene-managera_freed_window_credit_is_granted_without_waiting_for_the_clocktiming flake), and verify all required checks pass on head before merge.
Should Fix
- Unrun served-workload A/B and missing
docs/TODO.txtentry (AGENTS.md:57-59,docs/design-review.md:109-115): The 128.56 s → 30.99 s and 68.46 s measurements are from a standaloneeos::map_host+cuMemHostRegister_v2harness; noflare runA/B againstmainwas run, and the PR adds nodocs/TODO.txtentry for the unrunflare run, live RDMAibv_reg_mr, or 16 KiB/64 KiB kernel checks. Fix: Either runflare run <exported-core> --prefix-cache-memory <size> --prefix-cache-disk <dir>againstmainunder THPenabled=madvise, defrag=madviseand include thePrepare host prefix cachetimings, or record the unrun end-to-endflare run, live RDMA, and non-4 KiB kernel checks indocs/TODO.txtperAGENTS.md:57-59. - Respect process NUMA memory restrictions when summing
/proc/buddyinfo(eos/src/unix.rs:272-328):parse_buddyinfo_free_hugepagessumsNormal/Movablefree huge pages across every NUMA node in/proc/buddyinfo. While summing across nodes is appropriate under unconstrainedMPOL_DEFAULT(where Linux ≥ 5.2 allocatesMADV_HUGEPAGEacross nodes in the fast path before compacting, so takingminacross nodes would wrongly disable THP on asymmetric-occupancy hosts), processes bound to a subset of nodes viacpuset.memsornumactl --membindsee unreachable remote nodes counted inpreferred_total. (The latency/compact_stallguard still bounds any stall to one chunk, so #616's 15-minute stall does not recur, but the upfront buddyinfo guard is bypassed.) Fix: Parse theNode N,id on each line and, when/proc/self/statusexposesMems_allowed_list, sum only allowed NUMA nodes (falling back to all nodes if unreadable), plus add a unit test for a filtered two-node fixture. - Avoid single-strike false fallback on system-wide
/proc/vmstat compact_stall(eos/src/unix.rs:572-595): Becausecompact_stallis host-wide, a single slow chunk (elapsedin(stall_floor, hard_ceiling], e.g., from brief scheduler contention during parallel multi-rank startup) coinciding with a+1compact_stallfrom an unrelated process triggersfell_back = true; break;and populates the entire remainder of a 100+ GiB slab with base pages. Fix: Require 2 consecutiveChunkStallCheck::CheckCompactStallhits with advancingcompact_stallbefore settingfell_back(keepingChunkStallCheck::Stalledabovehard_ceilingas an immediate 1-chunk breaker so real compaction stalls still exit in one chunk).
Subtract / Simplify
- Deduplicate the 9-line populate/register sequence (
selene/src/offload.rs:702-735): Lines713-723(Nonearm oftry_sized_by_rank) and725-735(elsearm) are byte-for-byte identical. Attempttry_sized_by_rankintolet split: Option<SlabPool>first, then share onematch split { Some(pool) => pool, None => { ... } }block (~−16 lines and a single source of truth for step labels and timer resets). - Consider dropping the pass-through
helios::offload::prepare_with_inputs_budgetwrapper (helios/src/offload/mod.rs:82-99): Its only caller in the workspace ishelios::offload::prepare_with_inputs(:79), sinceNativeModel::prepare_offload(helios/src/runtime_core/model.rs:966) moved toprepare_with_inputs_budget_with_progress. If preserving thepub fnsignature for external Rust consumers / parity withselene::offloadis intentional, keep it; otherwise pointprepare_with_inputsstraight toprepare_with_inputs_budget_with_progress(..., None, |_| {})and delete lines82-99.
Nits
eos/src/unix.rs:603-605: Whenfallback_needs_nohugepageistrue, line528already advisedMADV_NOHUGEPAGEon the entire unsplit mapping and the loop never advised[offset, bytes), so the secondadvise_range(tail_ptr, tail_len, libc::MADV_NOHUGEPAGE)beforepopulate_chunksis redundant.eos/src/unix.rs:621-632: Consider a brief unit test invokingpopulate_linuxdirectly with syntheticEagerHugepageandBasePagespolicies to assertVmFlags(hgvs absent) independently of the test host's sysfs settings.selene/src/offload.rs:333-336:PrepareTimings.slab_populatestores both split-by-rank allocation time (allocate) and contiguous population time (populate); splitting intoslab_allocateandslab_populate(or renaming toslab_ready) would make programmatic consumers self-describing.docs/prefix-cache-offload.md:519-522: "prefaulted writable in bounded chunks" appears before "On Linux", whereaseos/src/windows.rs:179-183still prefaults in one page-strided loop; clarify that bounded chunking applies on Unix (eos/src/unix.rs:673-678). Also note in the PR description's compatibility section thatPrepared::summary()appends timing tokens to existing parenthetical clauses and that 64 MiB chunking applies across all Unix modes.- Out of scope for this PR (follow-up):
selene-manager/src/arena.rs:93still issues an unconditionalmadvise(MADV_HUGEPAGE)and may warrant a separate follow-up ordocs/TODO.txtnote.
Dropped on verification
- Dropped — "Reversed error handling makes transient
ENOMEMunder fragmented memory abort startup instead of degrading to volatile writes" (Correctness Finding C): Verified factually incorrect against Linux VM semantics.MADV_POPULATE_WRITEnever returnsENOMEMdue to THP fragmentation (Linux's fault handler transparently falls back to 4 KiB base pages);ENOMEMoccurs only on genuine physical memory or cgroup exhaustion. Onmain, ignoringENOMEMand executingwrite_volatile(0)(main:eos/src/unix.rs:106-116) faulted straight into the OOM killer (SIGKILL) instead of degrading. ReturningErrand unmapping viaMappingGuard(eos/src/unix.rs:173-180, 445-453) is a concrete improvement and is explicitly stated in "What Changed". - Dropped — "Single-VMA
/proc/self/smapstest assertions flake when a concurrent test creates an adjacent mapping" (Correctness Finding E): Verified false ineos/src/unix.rs:789-811.parse_smaps_intersecting_vmaschecks strict half-open interval overlap (vma.start < end && vma.end > start), so adjacent VMAs (vma.end == startorvma.start == end) never intersect, and no concurrent thread can map inside[address, address + bytes)while the test owns the mapping. - Dropped — "Unix/Windows
bytes == 0contract divergence and missing Windows chunking" (Correctness Finding D): Verified low-signal/inaccurate.eos/src/windows.rs:167-176callsVirtualAlloc(NULL, 0, ...), which already returnsNULLwithERROR_INVALID_PARAMETER, and Windows's page-strided user-space write loop does not hold a monolithic LinuxMADV_POPULATE_WRITEkernelmmap_lock; the minor doc phrasing point is kept as a Nit. - Dropped — "Whole-range
MADV_NOHUGEPAGEafter mid-slab fallback drops THP hints for the whole slab, head included" (Dossier Finding 3 / Correctness Finding B rider): Verified misleading. Linuxmadvise(MADV_NOHUGEPAGE)does not split already-populatedAnonHugePagesin the prefix (confirmed by the PR's smaps results) and Linux has nomadviseflag to resetVM_HUGEPAGEto neutral, so unifying the slab toMADV_NOHUGEPAGEis the right way to merge sub-VMAs into 1 VMA without causingkhugepagedto scan and compact the base-page tail. - Dropped — "4 KiB test pools perform ~5 extra
/sys+/procfile reads per call" (Dossier Finding 3 / Correctness §2): Overstated. For mappings smaller thanhpage_pmd_size,populate_adaptive_withexits immediately ateos/src/unix.rs:503-511without reading/proc/buddyinfoor/proc/vmstat(only the 3/syspolicy reads run, andmap_hostis not on the serving hot path). - Dropped — "Collapse
PopulationMode::BasePagesandKernelDefaultOpportunisticintoChunkedBasePagesand merge into fall-through" (Subtraction Rank 3): Verified flawed. The fall-through inselect_population_mode(eos/src/unix.rs:259-263) isAdaptiveHugepage, notBasePages, and calling(ThpEnabled::Always, ThpDefrag::Madvise | DeferPlusMadvise)ChunkedBasePageswould misstate its behavior (Linux allocates opportunistic huge pages there). Keeping the distinct variant documents the 24-cell decision table cleanly, and keepingThpPolicy.page_sizepreserves testability ofpopulate_linux. - Dropped — "Take
minacross NUMA nodes inparse_buddyinfo_free_hugepages" (Correctness Finding A proposed fix): Would regress two-NUMA workstations where one node holds model weights/embeddings (0 free huge pages) while the other has abundant free huge pages, forcing immediate base-page fallback at byte 0. Replaced in Should Fix #2 withMems_allowed_listfiltering.
Full report Decision to Test: no (97%): Testing will not add significant value as the code stands today. The code is either not yet ready to merge, or adequate testing has already been done to validate the contents of the code, or the available hardware is not suitable to test with.
Classify triage
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 99.2% -
triage:validation: 0.6% -
triage:design-review: 0.1% -
triage:partial: 0.1% -
none: 0.0% -
triage:integration: 0.0% -
triage:investigate: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Apply labels
No label changes decide malicious: all_clear (100%): No malicious content found
explore
Author: flare-autobot (COLLABORATOR; opening account) — current head commit authored by yatesdr (COLLABORATOR); Discord: flare-autobot Motivation: Serving a model with a big host prefix-cache slab can stall startup for 15+ minutes on Linux when memory is fragmented, because the allocator advises huge pages and then faults the whole range at once, forcing synchronous compaction. This PR makes the allocator read the kernel's THP policy and fall back to ordinary pages promptly, and adds per-step startup timings so operators can see where startup time goes. Scale: +1,621 / −109 lines in 7 files (head f2d03bc, rebased onto main 8da73911) Proposal:
- Rewrite
eos::map_host(eos/src/unix.rs+1158/−54): detect THPenabled/defrag/hpage_pmd_size, pick one of four population modes, populate in bounded 64 MiB chunks, and gate the adaptive path on/proc/buddyinfofree huge pages, chunk latency and/proc/vmstat compact_stall. - Add RAII
MappingGuard,EINVALon zero bytes,EINTRretry, and volatile-write fallback only onEINVAL/ENOSYS(other errnos now fail startup). - Add
PrepareTimings { slab_populate, cuda_register, disk_scan }andprepare_with_inputs_budget_with_progress(..., on_step)toselene/src/offload.rs, plus duration tokens inPrepared::summary(). - Re-export from
helios/src/offload/mod.rsand forward step labels viaphase.detail(step)inNativeModel::prepare_offload. - Update
docs/prefix-cache-offload.md§2.5/§2.11 and record unrun checks indocs/TODO.txt:1-6. Touches: eos/src/unix.rs— the allocator behind every host slab, pool staging and CUDA host-registration tests (highest risk).selene/src/offload.rs+selene/src/offload/tests.rs— prepare path, public API and startup summary text.helios/src/offload/mod.rs+helios/src/runtime_core/model.rs— re-export and startup progress wiring. Related items:- #616 v0.4.4 takes over 15 minutes to prepare a 119 GiB host prefix cache on fragmented Linux memory (open): the regression report this fixes.
- #589 Fix CUDA 12 batched copies, Linux ARM64 release portability, and Selene unified-memory budgeting (merged): introduced the populate order #625 replaces.
- #576 Pin Helios execution and RoCE proxy threads to high-capacity CPUs (open): the only remaining
eos/src/unix.rscollision. - #628 helios: gate offload Copy Engine batches during peer-copy graphs (open): same author, same
NativeModelprepare/attach region and offload doc. - #323 Make the system headroom of unified-memory cache sizing configurable (closed 2026-11-30): superseded, its signature conflict is moot.
Link: https://github.com/NVIDIA/hyperflare-inference/pull/625
Autobot comments: Since the 2026-11-29 report the PR was rebased and re-pushed as
f2d03bc1by yatesdr (not the bot identity), growing to 7 files +1621/−109, and the description now discloses nearly all the behaviour changes previously called undeclared (universal 64 MiB chunking,EINVALon zero bytes, munmap on error,EINTRretry, errno propagation, NUMA filtering, two-stall confirmation, one-PMD shrink, post-fallbackMADV_NOHUGEPAGE). Three items remain undisclosed:map_hostnow does/sysand/procI/O on every call including test pools and pool staging (eos/src/unix.rs:723-731,selene/src/pool/shm.rs:74-86); after a mid-slab fallback the whole range getsMADV_NOHUGEPAGEeven when not needed, dropping THP hints for the huge-page head (eos/src/unix.rs:693-700); and every heuristic constant is compile-time only. Labels and an Autobot Review ("Changes Requested", 2026-11-30 02:32) now exist, but still no human review; that review is stale (pre-rebase line numbers, cites now-closed #323) and its single blocker — CI on head9639e57— is probably the pre-existingPython CPU testsfailure from issue #623, fixed by merged #624 whose merge is the new base, as yatesdr independently states in #628. The AGENTSdocs/TODO.txtgap is closed (docs/TODO.txt:1-6), but the served-workload A/B required by charter #210 /docs/design-review.md:106-115is still unrun and the 4.15x headline rests on an author-supplied standalone harness with no committed script or log.
Classify intake
Selected: triage:review, priority:P2, bug, performance, area:memory, area:selene
Threshold: 65%
Triage
- [✓]
triage:review: 99.7% -
triage:validation: 0.1% -
triage:design-review: 0.1% -
none: 0.0% -
triage:investigate: 0.0% -
triage:integration: 0.0% -
triage:partial: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Priority
- [✓]
priority:P2: 85.6% -
none: 13.1% -
priority:P1: 1.2%
Type
- [✓]
performance: 98.8% - [✓]
bug: 73.1% -
community: 50.0% -
enhancement: 46.9% -
duplicate: 18.2% -
documentation: 0.1%
Area
- [✓]
area:selene: 97.4% - [✓]
area:memory: 94.7% -
area:preparation: 22.3% -
area:caching: 6.0% -
area:api: 1.1% -
area:kernels: 0.7% -
area:engram: 0.2% -
area:orbit: 0.1% -
area:rocenante: 0.1% -
area:scheduling: 0.1% -
area:packaging: 0.1%
Model
-
model:kimi-k3.1: 2.0% -
model:muse-glimmer: 2.0% -
model:glm-5.3: 0.9% -
model:deepseek-v4.1: 0.4% -
model:mimo-v2.6: 0.2% -
model:deepseek-v4: 0.2% -
model:qwen3.8-flash-next: 0.2% -
model:nemotron-3.5-bolt: 0.1% -
model:inkling-small: 0.1% -
model:gemma4: 0.0% -
model:qwen3.8-27b: 0.0%
Apply Labels (Intake)
No label changes
Value Proposition
Value Proposition — PR #625 ("Avoid THP compaction stalls in eos::map_host and report offload startup timings")
Charter alignment. The change fixes a reproducible bug (#616: >15 min stall in Prepare host prefix cache under THP compaction), which the charter explicitly lists as mergeable. It attacks the root cause (unconditional MADV_HUGEPAGE + monolithic MADV_POPULATE_WRITE) instead of swallowing/retrying the stall, lives in the runtime layer (eos/src/unix.rs) rather than adding per-model branches, and deliberately avoids host-wide sysctls and new runtime switches. Offsetting that: the offload timing/progress plumbing (selene/src/offload.rs +131/−45, selene/src/offload/tests.rs +274, helios +26) is a separate concern bundled into a memory-management bug fix — scope creep, and it changes Prepared::summary() output text.
Novelty & status. Genuinely additive. Nothing merged on main fixes #616; #589 (merged) is the regression cause this partially reverses. No open PR supersedes it: #576 is the only eos/src/unix.rs collision and concerns CPU selection; #628 (same author) and #621 overlap only on helios/src/runtime_core/model.rs and the two docs files, so merge order matters, not value. The Autobot "Changes Requested" blocker on head 9639e57 is most plausibly the pre-existing Python CPU tests failure fixed by #624 (8da73911, the current base), not a defect introduced here.
Value vs cost. Beneficiaries are operators using the documented large-slab path (--prefix-cache-memory with disk/pool/lossless-compression), so the audience is real. Evidence strength is the weak point under charter #210: 128.56 s → 30.99 s (4.15x) and 57.19 s + 11.27 s registration are author-supplied standalone map_host/cuMemHostRegister_v2 figures with no committed harness or raw log, and are explicitly "not yet timed inside a live flare run launch"; docs/design-review.md:106-115 wants actual Helios service measurements. Cost is high: +1621/−109 across 7 files, ~1158 lines in eos/src/unix.rs, much of it heuristic (buddyinfo/compact_stall parsing, latency floors, NUMA filtering) validated on only two hosts, with an open question about the post-fallback whole-range MADV_NOHUGEPAGE discarding THP hints for a genuine huge-page head (119 GiB run: 43,454 MiB AnonHugePages with VmFlags nh). No human maintainer position exists yet; the committer is yatesdr, who owns these files.
Verdict: Worth it with changes — split the timing plumbing into its own PR, land a served flare run A/B (harness or raw log) per #210, resolve the MADV_NOHUGEPAGE scope, and refresh the pre-rebase benchmark table.
Full report Decide Value: yes (100%): This change is worth reviewing: it provides value to the project in line with its charter.
Subtraction and simplicity
Subtraction/simplicity lens on PR #625 (head f2d03bc). The diff is close to lean — the allocator core and the selene timing plumbing are small, single-purpose and duplicate no existing repo helper. Four deletions are worth making; the largest is ~70 lines, so I do not recommend churn beyond them.
- Dead enum variant:
PopulationMode::KernelDefaultOpportunistic(eos/src/unix.rs:119, returned at:254-258) is dispatched in the identical arm asBasePages(:710). Delete it and the branch; also drop the test arms at:997-999and:1240. Highest value, smallest diff. - New forwarder with no production caller:
prepare_with_inputs_budget(helios/src/offload/mod.rs:82-99).search_codeshows the runtime calls the_with_progressform directly (helios/src/runtime_core/model.rs:966); the only user of the budget form is itself test-only (helios/src/offload/pool/tests.rs:124). The PR body's "pub fnparity" rationale does not hold — have:79pass|_| {}and delete:82-99. Keep theseleneoriginals (selene/src/offload.rs:562,573,595), which many tests use. Mems_allowed_listNUMA filtering: ~70 lines (eos/src/unix.rs:266-303,312-317,343-347,468-481, call at:723, tests:1036-1052, plus the#[cfg(test)]shim:388-395and the doc clausedocs/prefix-cache-offload.md:531). Its only effect is to make an already-conservative huge-page pre-check stricter, and no run or test distinguishes the filtered from the unfiltered count. Deleting it also restores the plainparse_buddyinfo_free_hugepagesname.- Test that re-implements the implementation:
eos/src/unix.rs:1229-1238recomputespopulate_adaptive_with's aligned-start/aligned-end arithmetic (:1218-1228) to assert onlyhg || nh, a tautology that asserts nothing in the exact-PMD case. Policy selection is already covered deterministically by:1308-1352and:1247-1306. Delete:1204-1242, keep the zeroed/VMA-count assertions.
Conventions: clean. docs/TODO.txt:1-6 satisfies AGENTS.md:57-58, and live progress reuses the existing Phase::detail rather than inventing an abstraction.
Open: CI logs for 9639e57 unavailable; heuristic constants are compile-time only; whether the whole-range MADV_NOHUGEPAGE after fallback costs the huge-page head is unmeasured.
Correctness and contracts
One Major finding, three Minor, all in the allocator/timing plumbing; the rest is sound.
- Major —
eos/src/unix.rs:695-700: the closing whole-rangemadvisekeys only onfell_back, so on the success path it re-armsMADV_HUGEPAGEover a mapping the same function deliberately setMADV_NOHUGEPAGEon (:604-606) fordefrag=always/unknown-sysfs hosts. The slab endshgfor the process lifetime, so later swap-in faults re-enter the direct-reclaim/compaction path #616 is about, now during serving. On the fallback path it appliesNOHUGEPAGEeven when the policy did not require it, barring khugepaged from the base-page tail. Fix:if fell_back || fallback_needs_nohugepage. - Minor —
selene/src/offload.rs:702-728:slab_populatestarts aftertry_sized_by_rankreturnsOk(None), so the failed split probe is measured by neitherallocatenorpopulate; the new durations under-report exactly the fallback path they exist to explain. - Minor —
selene/src/offload.rs:706-736+helios/src/runtime_core/model.rs:978+helios/src/startup.rs:325-328:on_steplabels are emitted before the work they name andPhase::detailkeeps one string, so a stalled 119 GiB populate shows a static "populating …" — the PR's "live sub-step progress" claim is stronger than the code. - Minor —
eos/src/unix.rs:450-465,749-755: THP policy is re-probed from sysfs//procon everymap_host(incl. pool staging), never logged or exposed in the extendedsummary(), and unknown sysfs silently selects the heavier adaptive path.
Verified sound: no double munmap/UB (MappingGuard + mem::forget); bytes==0 → EINVAL regresses no caller; EINTR retry / EINVAL+ENOSYS-only volatile fallback with other errnos propagated is declared and correct; summary() byte-identical for disabled and restore-only; phase label and StartupStage unchanged; Windows map_host untouched; no wire/ABI change. Charter #210 served-workload A/B remains unrun, now tracked in docs/TODO.txt:1-6 — a maintainer call, not a code defect. No test was executed; all findings are from reading code.
Re-review
Recommendation: Ready To Merge
Head f2d03bc resolves the Round 1 review items—rebasing onto main 8da73911 (which includes the #624 fix for the pre-existing Python CPU tests failure), recording the unrun served flare run A/B and live RDMA/ARM64 checks in docs/TODO.txt:1-6, and strengthening the Linux adaptive allocator with Mems_allowed_list NUMA filtering, two-consecutive-compact_stall confirmation, and full single-VMA anchoring when both mapping endpoints are PMD-aligned. Independent verification of eos/src/unix.rs, selene/src/offload.rs, helios/src/offload/mod.rs, and helios/src/runtime_core/model.rs confirms the RAII MappingGuard, errno propagation, single-VMA merge geometry, public API compatibility, and startup timing/progress wiring are sound with no remaining blockers or regressions; confirm green CI on f2d03bc before merging.
Merge Risk
Level: Medium
- Shared host-slab allocator (
eos/src/unix.rs): Every contiguous host prefix-cache slab (selene/src/slab.rs:164) and remote pool staging buffer (selene/src/pool/shm.rs:78, called fromselene/src/pool/net.rs:95) allocates througheos::map_host, and non-EINVAL/ENOSYSpopulation errors now abort startup cleanly viaMappingGuardunmap instead of falling back to volatile writes. The adaptive thresholds are compile-time heuristics without a runtime override, though they run only at startup/channel setup (never on the inference hot path) and preserve the single-VMA contract required bycuMemHostRegister_v2andibv_reg_mr. - Deferred end-to-end hardware checks: Standalone
eos::map_host+ discrete SM120cuMemHostRegister_v2A/B benchmarks and SM121 CUDA DMA checks were verified prior to the rebase onto8da73911(with unchanged allocator VMA/DMA behavior), while fullflare runend-to-end A/B timing, live RDMAibv_reg_mr, and 16 KiB/64 KiB ARM64 kernel runs remain unrun and tracked indocs/TODO.txt:1-6. - Cross-PR coordination: Open PRs #576 (
eos/src/unix.rs), #628 (helios/src/offload/mod.rs,helios/src/runtime_core/model.rs,docs/prefix-cache-offload.md), and #621 (docs/TODO.txt,docs/prefix-cache-offload.md) touch overlapping files and will require standard rebase coordination depending on merge order (#323is now closed).
Walkthrough
eos/src/unix.rs:88-766, 830-1354: Rewritesmap_hostaroundmap_host_with(:737-747) and RAIIMappingGuard(:139-181, rejectingbytes == 0withEINVALand unmapping on population failure), retriesMADV_POPULATE_WRITEonEINTRwith page-strided volatile fallback only onEINVAL/ENOSYS(:511-537), bounds all Unix prefault calls to 64 MiB chunks (:88, 539-555), and adds Linux THP sysfs policy inspection (:184-264, 442-465) selecting among base/opportunistic chunking, eagerMADV_HUGEPAGE, and adaptive PMD-aligned chunking (:566-702) withanon_vmapre-anchoring,/proc/self/statusMems_allowed_listNUMA-filtered/proc/buddyinforeserve checks (:270-386, 468-481), latency + two-consecutive/proc/vmstatcompact_stallfallback (:398-439, 650-681), and a final whole-rangemadviseVMA merge (:693-700). Adds 11 new unit and live/proc/self/smapstests (:854-1353).selene/src/offload.rs:331-340, 368, 415-480, 573-789: AddsPrepareTimings(slab_populate,cuda_register,disk_scan) toPrepared, introducesprepare_with_inputs_budget_with_progress(:595) while keepingprepare_with_inputsandprepare_with_inputs_budgetintact (:562-592), shares the contiguous populate/register path for split-by-rank fallback (:702-730), emits step labels before split allocation, contiguous population, CUDA registration, and disk scanning, and appendsallocate/populate/register/scanelapsed durations insidePrepared::summary()while preserving restore-only and disabled summaries unchanged (:415-475).selene/src/offload/tests.rs:1107-1380: Adds four isolated unit tests verifying emitted step sequences,PrepareTimings, andPrepared::summary()across split-by-rank, split-to-contiguous fallback, contiguous + disk, and degraded/sharded restore-only paths.helios/src/offload/mod.rs:30-33, 82-120&helios/src/runtime_core/model.rs:966-979: Re-exportsPrepareTimings, delegates existingprepare_with_inputs_budgetto newprepare_with_inputs_budget_with_progress, and wires|step| phase.detail(step)inNativeModel::prepare_offloadwhile keeping thePrepare host prefix cachelabel andStartupStageunchanged.docs/prefix-cache-offload.md:517-536, 990-996&docs/TODO.txt:1-6: Documents Unix bounded chunking, Linux THP policy-aware slab population, single-VMA merging, and live step/timing reporting; records deferredflare runA/B, live RDMAibv_reg_mr, 16 KiB/64 KiB ARM64 kernel checks, and theselene-manager/src/arena.rsMADV_HUGEPAGEaudit indocs/TODO.txt.
Pre-merge Checks
- [PASS] Security / malicious screen: Read-only
/sys/kernel/mm/transparent_hugepage/*,/proc/self/status,/proc/buddyinfo, and/proc/vmstatreads plus standardmmap/madvise/munmapsyscalls; no new dependencies, env switches, network I/O, or unsafe untrusted input handling. - [PASS] Charter & value fit: Fixes reproducible bug #616 (caused by #589) in the shared runtime allocator layer without adding CLI switches or model-specific logic, preserves core/ABI compatibility, and records unrun checks in
docs/TODO.txt:1-6perAGENTS.md:57-58(standalone SM120 A/B backs the allocator speedup; servedflare runA/B per #210 /docs/design-review.md:109-115is explicitly deferred and tracked). - [WARN] Related / duplicate / conflict check: Not duplicated on
main(selene-manager/src/arena.rs:93audit tracked indocs/TODO.txt:5-6); rebase/merge-order coordination needed with open #576 (eos/src/unix.rs), #628 (helios/src/offload/mod.rs,helios/src/runtime_core/model.rs,docs/prefix-cache-offload.md), and #621 (docs/TODO.txt,docs/prefix-cache-offload.md). - [WARN] Tests & verification evidence: Full
--locked --releaseCPU test suites (eos12,selene552+1,helios1,748+62,flare245,flare-cli227) andselene --tests --features rdmacompile check are reported passing onf2d03bc, and all new tests are well-isolated with faithful stubs; however, CI job status onf2d03bccould not be inspected from available tools and the end-to-endflare runA/B + live RDMA checks are deferred indocs/TODO.txt:1-6.
Blockers
None.
Should Fix
None.
Subtract / Simplify
- Collapse
PopulationMode::KernelDefaultOpportunisticinto one unadvised variant (eos/src/unix.rs:116-121, 254-258, 709-712, 997-999, 1240):KernelDefaultOpportunisticandBasePagesexecute the identical unadvisedpopulate_chunksarm inpopulate_linux(:710) and share the identical no-op arm in tests (:1240). Collapsing both into a single variant (e.g.,NoAdvice/Unadvised) with a short comment inselect_population_modeexplaining bothenabled=neverandenabled=always(defrag=madvise|defer+madvise) removes a dead runtime state while keeping the distinction clear. - Drop mirrored alignment arithmetic in
map_host_advises_hugepages_and_prefaults_zeroed_pages(eos/src/unix.rs:1204-1242): Lines:1218-1238re-implementpopulate_adaptive_with'saligned_start/aligned_endcalculation to guard anhg || nhcheck across 4/16/64 KiB page sizes, whileadaptive_mid_mapping_fallback_merges_into_single_vma(:1249-1306) andpopulate_linux_applies_eager_and_base_page_policies(:1310-1352) already assert exactVmFlagsdeterministically. Keeping only the zeroed-page and single-VMA assertions (:1183-1203, 1244) removes ~38 lines of test-to-implementation coupling.
Nits
- Confirm CI passes on
f2d03bc(following the rebase onto8da73911/ #624) before merging, and note that the standalone SM120 A/B and SM121 CUDA DMA checks in the PR description predate the rebase (allocator VMA/DMA contract unchanged) while fullflare runA/B verification is tracked indocs/TODO.txt:1-6.
Dropped on verification
- Correctness #1 (
eos/src/unix.rs:695-700, closingmadvisescope onfell_back == false/fell_back == true): Dropped as factually flawed on both halves. Onfell_back == falsewithfallback_needs_nohugepage == true, every page is already populated writable and immediately pinned bycuMemHostRegister_v2(SlabPool::register/Region::register), so later swap-in compaction faults do not occur (andenabled=always, defrag=alwaysalready compacts on default faults regardless). Onfell_back == true, Linuxmadvise(2)has no "clear THP hint" operation, so merging sub-VMAs back into one VMA requires uniformMADV_HUGEPAGEorMADV_NOHUGEPAGE;MADV_NOHUGEPAGEpreserves already-allocated huge pages (FIXED_119G:AnonHugePages=43,454 MiBwithVmFlags nh) while stoppingkhugepagedfrom scanning the base-page tail, and the candidate's own suggestedif fell_back || fallback_needs_nohugepagefix did not even alter the fallback branch. - Correctness #2 (
selene/src/offload.rs:702-728,slab_populatespan excludes failed split-by-rank probe): Dropped as low-signal and contrary to intended timing semantics.try_map_device_host_parts(helios/src/cuda.rs:596-611) returnsOk(None)immediately on unsupportedHOST_NUMAVMM before mapping memory, and resetting the timer beforeSlabPool::sizedintentionally isolates host slab population time from CUDA driver queries;PrepareTimingsis startup diagnostic reporting rather than an admission-pricing metric. - Correctness #3 (
selene/src/offload.rs:706-736/helios/src/startup.rs:250-266, 325-328, static progress label during populate): Dropped as factually inaccurate and scope creep.StartupProgressredraws every 125 ms on TTYs (helios/src/startup.rs:250-251; 10 s applies only to non-TTY redirected logs), and emitting step details before split allocation, contiguous population, CUDA registration, and disk scanning matches both the PR description anddocs/prefix-cache-offload.md:990-996without threading progress callbacks intoeos::map_host. - Correctness #4 (
eos/src/unix.rs:450-465, per-call sysfs probing /OnceLock/ THP mode token insummary()): Dropped as low-signal and counterproductive.eos::map_hostruns only at startup (SlabPool::new) and pool staging setup (Region::anonymous), never on the request hot path; caching sysfs policy in aOnceLockwould break dynamic sysfs changes and complicate tests to save microseconds once at startup, and routingUnknownsysfs toAdaptiveHugepage { fallback_needs_nohugepage: true }is the safe conservative choice. - Subtraction S2 (
helios/src/offload/mod.rs:82-99, "new 17-line forwarder"prepare_with_inputs_budget): Dropped as factually false.pr_diffconfirmshelios::offload::prepare_with_inputs_budgetalready existed as apub fnonmain(and is still called byprepare_with_inputsat:79); forwarding it toprepare_with_inputs_budget_with_progresspreserves public API backwards compatibility. - Subtraction S3 (
eos/src/unix.rs:266-303, 343-347, 468-481, 723, deleteMems_allowed_listNUMA filtering): Dropped as factually inverted. Summing/proc/buddyinfoacross disallowed NUMA nodes errs in the unsafe direction (overestimating available huge pages for a NUMA-pinned process and triggering unnecessary compaction stalls on its allowed node before latency/stall fallback engages);read_mems_allowed_list()executes once permap_hostcall outside the chunk loop and is cleanly tested. - Value Prop scope-split suggestion (splitting timing plumbing into a second PR): Dropped as Round 2+ scope churn; both changes directly satisfy #616's explicit operator requests ("fall back promptly to base pages" and "separate startup timings for slab population and CUDA registration") and were not raised as a blocker in Round 1.
Classify triage
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 90.2% -
triage:validation: 8.4% -
none: 1.1% -
triage:design-review: 0.2% -
triage:partial: 0.0% -
triage:integration: 0.0% -
triage:investigate: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Apply labels
No label changes Decision to Test: yes (88%): Testing will add considerable value with the code. It is ready to merge and the tests will validate and improve confidence on hardware we have available for testing.