roadmap BUILT

754. The capability table grows to 64 slots

Raised 2026-10-04 (UTC) by milestone 753 (trace the progenitor's login block peak) as its option A, which calef chose that day on pull request #1608. (Title and slug are drafts.)

Why

A gpu-and-keyboard boot under QEMU reaches 31 of the progenitor's 32 capability slots, and the next capability added at boot halts that boot with no message. Milestone 753's trace itemized the 31 and replayed the alternatives. calef chose to grow the table rather than move holdings into a new process: the fixed table is the real constraint, and a builder process that exists to move slot accounting is not worth a new program and protocol. Milestone 753 records that reasoning in full.

What it would do

The test

What was built

All of the list above, on all three ISAs, and three things it did not predict.

What it cost, measured

No new memory: the table lives in each thread's TCB page, which is already allocated whole.

IPC fastpath footprint (script/fastpath-footprint, bytes, before to after, on aarch64, riscv64 and x86_64). No closure went over its band and the budget was not touched.

Closure aarch64 riscv64 x86_64
ipc_send_receive 5,612 to 5,612 5,002 to 5,118 6,832 to 6,832
ipc_call_reply 6,912 to 6,904 6,094 to 6,218 8,467 to 8,467
system_call_entry 1,640 to 1,640 2,008 to 2,008 1,797 to 1,797

x86_64 ipc_send_receive stays at +4.4% of its 5% band. riscv64 ipc_send_receive went from +2.0% to +4.4% against its baseline, still inside, and is now the second one to watch.

Kernel stack temporaries.

script/swish-check: the gpu-and-keyboard boot's peak reads 31 of 64 on aarch64 (24, 28, 31 across its three boots), and the leg exits 0. script/test passes on aarch64, riscv64 and x86_64. CAPABILITY_TABLE_PEAK_MEASURED stays 31. The record of the change is in notes/capability-peak-trace.md; the ABI fact (the fault slot is 63) is on abi::CAPABILITY_TABLE_SLOTS and in notes/abi.md.

BUGS

What it is not

Not growable tables. Whether a process's table should be sized for that process, as seL4's are, is design/roadmap/0778-capability-tables-sized-per-process.md. Sixty-four slots buy the time to answer that question with a measurement rather than at the next wall.

Follow-on

Index row

The progenitor's capability table sat at 31 of 32 on a gpu-and-keyboard boot. BUILT: the table is 64 slots on all three ISAs, the fault slot is 63 and the run-unvouched slot 62, and the same boot reads 31 of 64. The fastpath stayed inside its band. Two stack costs the wider table caused were fixed.