pub fn dsa_capacity(max_context: usize, index_kpool: usize) -> usizeExpand description
2026-09-25: Indexer cache rows for max_context tokens, rounded down to whole pools (a
trailing partial pool is not a pool).
The allocation (max_dsa_context) and the serve’s per-sequence reserve
(seq_state_reserve::per_sequence_state_bytes) both call it. index_kpool 0 is treated
as 1, so it is total for callers that have not validated the config.