Structs§
- Byte
LruCache - Byte-limited LRU cache with an optional entry cap.
- Cgroup
Memory Availability - Reclaim-aware headroom under the binding finite cgroup ancestor.
- Cgroup
Memory Probe Failure - Fail-closed evidence from an active cgroup controller probe.
- Governed
- A value whose live memory is coupled to a process-wide reservation.
- Materialization
Policy - Memory
Availability - Provenance-preserving memory availability for the current process.
- Memory
Governor - Process-wide byte-accounting governor for large allocations.
- Memory
Reservation - RAII guard for bytes reserved on a
MemoryGovernorledger; dropping it releases the reservation. Hold it exactly as long as the accounted allocation is live. - Problem
Hints - Hints that flip strict mode on regardless of n/p — used when a code path is structurally operator-only and any dense fallback would be a bug.
- Rayon
Safe Once - Lazy-init cache safe to call from inside rayon par_iter.
- Resource
Policy
Enums§
- Cgroup
Memory Limit - The exact syntax of one cgroup-v2
memory.maxvalue. - Cgroup
Memory Observation - The process’ typed cgroup memory provenance.
- Cgroup
Memory Probe Failure Kind - Why a live cgroup memory hierarchy could not be observed safely.
- Derivative
Storage Mode - Matrix
Materialization Error - Memory
Availability Source - Which observation is the binding ceiling on memory available to this process.
- Memory
Reservation Error - Typed refusal from
MemoryGovernor::try_reserve.
Constants§
- LIBRARY_
ROW_ CHUNK_ TARGET_ BYTES - The library-default streamed row-chunk target (8 MiB), shared as a
constso compile-time consumers (e.g. device tile geometry) stay in lockstep withResourcePolicy::default_librarywithout a runtime policy query. - OWNED_
DATA_ CACHE_ MAX_ ENTRIES
Traits§
Functions§
- dense_
f64_ bytes - Checked byte footprint of a dense
nrows × ncolsf64matrix. - detect_
memory_ availability - Refresh and return the OS and cgroup observations that govern process memory admission. This is the single system-memory authority shared by the global governor and specialized runtime planners.
- prediction_
chunk_ rows - Select the row count for prediction-time covariance work.
- rows_
for_ target_ bytes - Returns how many rows to stream per chunk so that each chunk uses approximately
target_bytesgiven a row width ofcolsf64 entries.