docs(fast_io): document mmap page-fault impact on io_uring SQPOLL (#1661)#3493
Merged
Conversation
) Documents the hazard that arises when IORING_SETUP_SQPOLL is enabled and SQEs reference mmap'd basis-file pages that are not yet resident: the kthread context cannot service major page faults the way a userspace task can, leading to stalls, fall-back to task-work, or -EFAULT completions. Companion to docs/audits/mmap-iouring-co-usage.md (#3440). Records the constraint so that whoever wires SQPOLL prefaults or avoids mmap on the basis side first. Salvaged from worktree branch docs/mmap-page-fault-sqpoll.
oferchen
added a commit
that referenced
this pull request
May 5, 2026
) (#3493) Documents the hazard that arises when IORING_SETUP_SQPOLL is enabled and SQEs reference mmap'd basis-file pages that are not yet resident: the kthread context cannot service major page faults the way a userspace task can, leading to stalls, fall-back to task-work, or -EFAULT completions. Companion to docs/audits/mmap-iouring-co-usage.md (#3440). Records the constraint so that whoever wires SQPOLL prefaults or avoids mmap on the basis side first. Salvaged from worktree branch docs/mmap-page-fault-sqpoll.
3 tasks
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.
Summary
docs/audits/mmap-page-fault-iouring-sqpoll.mdCloses #1661. Companion to #3440 (mmap + io_uring co-usage audit).
Test plan