Skip to content

mm: defer linear subpage anon-vma destruction from atomic context - #187

Merged
RyanTheTide merged 1 commit into
mm-mixed-userspace-abifrom
fix/pr170-review
Oct 8, 2026
Merged

RyanTheTide merged 1 commit into
mm-mixed-userspace-abifrom
fix/pr170-review

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

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

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]>
@RyanTheTide
RyanTheTide merged commit bcfb38d into mm-mixed-userspace-abi Oct 8, 2026
@RyanTheTide
RyanTheTide deleted the fix/pr170-review branch October 8, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant