Skip to main content

Module hostcall_queue

Module hostcall_queue 

Source
Expand description

Hostcall queue primitives with explicit reclamation telemetry.

The fast lane uses a bounded lock-free ring (ArrayQueue). When pressure exceeds ring capacity, requests spill into a bounded overflow deque to preserve FIFO ordering across the two lanes.

Re-exports§

pub use crate::hostcall_s3_fifo::S3FifoFallbackReason;

Structs§

BravoContentionConfig
Tuning knobs for deterministic BRAVO contention policy behavior.
BravoContentionState
Deterministic BRAVO-style contention policy state machine.
BravoPolicyDecision
One policy transition decision generated from an observation window.
BravoPolicyTelemetry
Snapshot of contention policy internals for diagnostics and regression tests.
ContentionSample
Observation bucket consumed by the BRAVO policy state machine.
HostcallEpochPin
HostcallQueueTelemetry
HostcallRequestQueue
S3FifoConfig
Deterministic admission configuration for S3-FIFO-inspired behavior.
S3FifoTelemetry
Lightweight diagnostics snapshot for S3-FIFO admission internals.

Enums§

BravoBiasMode
BRAVO-style lock bias mode for metadata contention handling.
ContentionSignature
Deterministic contention signature computed from a fixed observation window.
HostcallQueueEnqueueResult
HostcallQueueMode
S3FifoMode
Runtime mode for S3-FIFO-inspired queue admission.

Constants§

HOSTCALL_FAST_RING_CAPACITY
HOSTCALL_OVERFLOW_CAPACITY

Traits§

QueueTenant
Optional per-request tenant key used for fairness/admission accounting.