fn admit_bytes(
normal: usize,
stalled_parks: u32,
persist_after: u32,
inflight: usize,
min_window_size: usize,
ceiling: usize,
) -> usizeExpand description
Pure admission decision, including the persist probe. Extracted for unit testing.
normal= the AIMD/ceiling-bounded admissible bytes. If positive, use it (no probe).- Otherwise, if the persist probe is enabled (
persist_after > 0) andstalled_parkshas reached it, admit up tomin_window_sizebeyondinflight, but never past the SURBceiling— the anti-deadlock persist probe.persist_after == 0disables the probe entirely (the default clean behaviour).