Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Windows Support for Lazy Commit of page map #727

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mjp41
Copy link
Member

@mjp41 mjp41 commented Jan 6, 2025

The Pagemap can potentially be accessed where there is no direct
knowledge of the location. On platforms with lazy commit this can
be handled by the OS faulting in a zero page. Here we modify the
Windows PAL to add an exception handler that will commit pages
in the read only range, i.e. the page map. We still require explicit
notify_using to be able to modify the pagemap.

Stacked on top of #725

@mjp41 mjp41 force-pushed the lazy_commit_windows branch 3 times, most recently from bfa2572 to f9c0b8c Compare January 6, 2025 13:57
@mjp41 mjp41 changed the title Add Windows Support for Laxy Commit of page map Add Windows Support for Lazy Commit of page map Jan 6, 2025
The Pagemap can potentially be accessed where there is no direct knowledge of the location.  On platforms with lazy commit this can
be handled by the OS faulting in a zero page.  Here we modify the
Windows PAL to add an exception handler that will commit pages
in the read only range, i.e. the page map.  We still require explicit
notify_using to be able to modify the pagemap.
@mjp41 mjp41 force-pushed the lazy_commit_windows branch from f9c0b8c to 6789b80 Compare January 7, 2025 14:32
@mjp41 mjp41 marked this pull request as ready for review January 7, 2025 14:36
@mjp41 mjp41 requested a review from nwf January 7, 2025 14:36
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