Skip to content

Fix cross-page-table sharing of mutable mappings (LVBS platform)#972

Open
sangho2 wants to merge 2 commits into
mainfrom
sanghle/lvbs/fix-pt-clone
Open

Fix cross-page-table sharing of mutable mappings (LVBS platform)#972
sangho2 wants to merge 2 commits into
mainfrom
sanghle/lvbs/fix-pt-clone

Conversation

@sangho2

@sangho2 sangho2 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This PR fixes cross-page-table sharing of mutable mappings. It now only clones the fixed kernel PML4 slots (>= KERNEL_OFFSET) when it creates user (task) page tables to avoid duplicating transient mappings and intermediate tables for direct-map and vmap. It also sets stable PRESENT | WRITABLE to the parent table flags.

@sangho2 sangho2 marked this pull request as ready for review June 26, 2026 16:41
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@wdcui wdcui requested a review from ziqiaozhou June 26, 2026 16:55
@wdcui

wdcui commented Jun 26, 2026

Copy link
Copy Markdown
Member

@ziqiaozhou can you please help review this PR? Thanks!

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.

2 participants