Skip to content

x/sys/windows: add GetLargePageMinimum #53900

@piotr-sneller

Description

@piotr-sneller

Hello,

could you please add GetLargePageMinimum() to the windows API wrappers? The VirtualAlloc() flag MEM_LARGE_PAGES is supported, but per the documentation, the block size should then be large page aligned. This alignment information is missing due to the lack of the GetLargePageMinimum() function. The proposed extension closes the gap.

Many thanks for considering my request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions