Repository navigation
mm: defer linear subpage anon-vma destruction from atomic context - #187
Merged
Merged
Conversation
Linear subpage owners retain an anon-vma root even without an rmap sidecar. Their last slot reference can be released by skb completion in softirq after the originating mm has exited. Route both kinds of root through the existing unbound cleanup work so the final anon-vma put and its sleeping synchronization run in process context. Preserve the physical unbinding and folio reference ordering. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
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.
Linear subpage owners retain an anon-vma root even without an rmap
sidecar. Their last slot reference can be released by skb completion
in softirq after the originating mm has exited. Route both kinds of
root through the existing unbound cleanup work so the final anon-vma
put and its sleeping synchronization run in process context. Preserve
the physical unbinding and folio reference ordering.
Follow-up to #170; original contributor commits are preserved. These fixes are based on public Linux/PR source and Linux-side tests.
Validation: full arm64 Image, modules and DTB build passed; strict checkpatch passed for the final code changes with only the required Assisted-by trailer diagnostic excluded. Deterministic source-extracted regression tests passed, with the original implementation failing the relevant negative control.
Hardware qualification is pending. No boot, suspend, fault-injection or firmware recovery pass is claimed. The publication gate is separate from runtime acceptance.
🤖 Generated with Claude Code