Repository navigation
Conversation
The five kernel patches of #590, #591 and #592 that each remove VM exits from device setup, carried together to be measured as one arm: alone each read within noise, as a bound the five read −7.4 [−12.1, −2.8] at 60 a side (lab 45114405201). Rebased onto 7.3.5 as pinned (they apply unchanged), remade with git format-patch, checkpatch --strict clean, and asserted on the vmlinux each goes into. The budget entry names the run that decides it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As one change against v20261123.06 (bench, spin's shape and login): the first login −9.2 [−12.2, −6.0] and sshd accepting −9.0 [−12.4, −6.7] at 120 a side (lab 45231943664); the restored login −0.6 [−2.3, +1.6] evicted, 30 a side (lab 45232800577). Each patch's changelog now says what was measured, the row moves to "What the machine carries" and the log has its entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aledbf
force-pushed
the
kernel/627-device-setup-exits
branch
from
November 23, 2026 18:01
bcc8a26 to
916e7b3
Compare
aledbf
marked this pull request as ready for review
November 23, 2026 18:01
Member
Author
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The goal is a cold boot to the first SSH login under 100 ms. Five kernel patches each remove VM exits from the boot's device setup (#590, #591, #592). Alone, none moved the first login past noise. As a bound the five read −7.4 [−12.1, −2.8] at 60 a side (lab 45114405201). #627 asked for them measured as one change at 120 a side against the release, with
restore-firstbeside it. Measured that way, they take 9.2 ms off the cold first login and leave the restore unchanged, so they are kept.What
kernel/patches/0021-0025: the bound's five, fromarchive/exp-batch2-bound. They apply to 7.3.5 as pinned with no change and are remade withgit format-patch. They are numbered from 0021 because budget: the decompressor's copy, LZ4 and parse_elf, 21 ms (bench) before the kernel's clock #645 holds 0014-0020. Each changelog now gives what was measured.kernel/Dockerfileandkernel/README.md: one vmlinux assertion per patch.docs/boot-time.md: a row in "What the machine carries". The IOAPIC row in "Measured and rejected" points to it.docs/log.md: the dated entry.Measured
Bench, nested, spin's shape and login, against v20261123.06, interleaved. The kernel is parts run 45228777973.
0022 keeps the risk #627 named. Upstream a2f1e22390ac took out
pci_restore_state()'s refusal of a state that was never saved. 0022's gate (AER, EEH, s390, Xen pcifront,reset_root_port) therefore has to grow by hand with whatever calls error handlers next. It stayed in the set because the set was fixed before the run.Checks
--strictclean for all five, sparse passes, and "kernel patches: each is in this vmlinux".enable_IO_APICcallsclear_IO_APIConce, and with it there is no such call.vp_modern_probecallspci_find_capability4 times without 0023 and once with it.pci_bus_add_devicecallspci_find_host_bridgeonly with 0022. The checks for 0024 and 0025 read the source.go tool task lint testpasses locally.Closes #627.
🤖 Generated with Claude Code