Skip to content

Windows large page support - #136

Open
gim913 wants to merge 2 commits into
RazrFalcon:masterfrom
gim913:windows-large-page-support
Open

gim913 wants to merge 2 commits into
RazrFalcon:masterfrom
gim913:windows-large-page-support

Conversation

@gim913

@gim913 gim913 commented Jan 9, 2025 •

Copy link
Copy Markdown

Hello, I've added windows implementation of large/huge pages.

There are few (3) places, where I wasn't sure what to do, I've marked them with TODO:s

Links to some info, that might be helpful:

P.S. I've tried to keep the changes minimal.

@gim913

gim913 commented Jan 10, 2025 •

Copy link
Copy Markdown
Author

Moved discussion re unix counterpart to #137

@gim913

gim913 commented Jan 22, 2025

Copy link
Copy Markdown
Author

@de-vri-es I see most recent merge belongs to you, could you perhaps take a look at this?

Comment thread src/windows.rs
handle: None,
ptr,
len,
len, // TODO: should this be mapped_len in case of huge page

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing, the answer to this is probably "no", as thing returned to user should have length one requested.

@Alex1s Alex1s mentioned this pull request May 6, 2025
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