Skip to content

Huge page size support in for mmap - MAP_HUGE_2MB, MAP_HUGE_1GB #1700

@GuillaumeDIDIER

Description

@GuillaumeDIDIER

Related to nix-rust/nix#1194

Since linux 3.8 there are additional flags to mmap that allow specifying what size of huge page should be used. (MAP_HUGE_2MB, MAP_HUGE_1GB on x86_64, the headers appears to have some generic support for variety of other sizes for other architectures)

http://man7.org/linux/man-pages/man2/mmap.2.html

target triple eight be x86_64-unknown-linux-gnu ?

Can those be added to libc ?

(I'd be willing to help, but I wouldn't mind some guidance on how to best tackle this and whether this is appropriate.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions