Decision log
Every change to the kernel interface, to locking rules or to object lifetimes is first written as an architecture decision record: the problem, the measured context, the decision, the alternatives, and an implementation plan in steps. Records name the issue ids they close, and implementation commits name the record and step they carry out.
Records
Newest first. Dates are those of acceptance. The notes summarise the records that shaped the execution model.
- 00282026-10-08A client waits for a free invoke stack, served in FIFO order
A pure client waits for a free invoke stack, served in FIFO order; safe because handlers no longer sleep. - 00272026-10-08No sleeping wait in a server handler
The kernel refuses a sleeping wait made in a handler on behalf of another process. - 00262026-10-05Open files out of fscore: node-level I/O, positions in posixrt, the CELL object
The open-file level leaves the filesystem: requests carry their offset, positions live in posixrt, and a CELL holds a position shared after fork. - 00252026-10-06Asynchronous fscore: filesystem handlers that never wait
Filesystem handlers never wait: a synchronous attempt, then an asynchronous request; workers; pagers may answer PAGER_PENDING and concurrent faults join one request. - 00242026-10-05poll and select on the io_base readiness wait
select, pselect, poll and ppoll on one readiness wait across pipes and terminals; needed by readline and by the make jobserver. - 00232026-10-05Device I/O in fscore: buffer cache, bmap and readahead
Device reads move from the backends into fscore: a per-mount buffer cache and a bmap operation. - 00222026-10-04Profiling: tick samples, kernel time, IPC and syscall counters
- 00212026-10-04ramfs without fixed limits
- 00202026-10-04File timestamps
- 00192026-10-04Time service and RTC driver
- 00182026-10-03Asynchronous blocking calls, interruptible waits and timers
Waits leave the servers: pipes and wait4 answer IO_PENDING and complete on an OPERATION; TIMER objects; waits with deadlines, interruptible by signals. - 00172026-10-03Rename as an fnode operation
- 00162026-10-03Truncate as an fnode operation
- 00152026-10-02A pager request waits for a free invoke stack
Concurrent page-ins could exhaust a server's invoke stacks; a pager request now waits for one instead of failing. - 00142026-10-02User faults delivered to posixrt: signals and EFAULT
- 00132026-10-01sys_map_anon and no-access sections
- 00122026-10-01System information: page counters and sys_system_info
- 00112026-10-01Two-level handle table
- 00102026-10-01An invoke holds its RES: no free under a running handler
An invoke keeps an external reference on its resource, so a server cannot free what a running handler serves. - 00092026-10-01POSIX process lifetime: pid until reap, reparenting
- 00082026-09-29ltest: the LTP test programs on Syx
- 00072026-09-29ptest and btest: POSIX and bash test platforms on the ntest runner
- 00062026-09-28fnode cache eviction: a bounded node cache per mount
- 00052026-09-28fnode VMOs: one resizable VMO per fnode, kept coherent by the write path
- 00042026-09-27Process lifetime: detached processes, users count, reaper
- 00032026-09-25Log control table: selective, run-time log levels
- 00022026-09-25Native test platform (ntest) and automated test runs
- 0001fs_ref_t semantics
The arc of the last records
Read in order, ADRs 0015 to 0028 are one argument. A handler that waits holds its client's thread and a scarce invoke stack (0015). So the waits are moved to the client, completed on objects the client waits on (0018, 0024); the filesystem, the last server that waited for a device, is made asynchronous (0023, 0025), after its open-file state moved out (0026). Once no handler sleeps, the kernel can enforce it (0027), and a client waiting for an invoke stack can no longer deadlock, so it may wait instead of failing (0028).