Module lrs::mem_map::flags

Constants

NameDescription
MMAP_ANON

Provide memory not backed by a file.

MMAP_DONT_BLOCK

Don't perform readahead.

MMAP_DONT_RESERVE

Don't reserve swap space for the mapping.

MMAP_FIXED

Create a map at an exact place.

MMAP_HUGE_PAGES

Allocate huge pages for this mapping.

MMAP_LOCKED

Lock the mapping into memory.

MMAP_NONE

Dummy flag with all flags unset.

MMAP_POPULATE

Ensure that access of the mapping does not cause page faults.

MMAP_UNINITIALIZED

Don't clear anonymous pages.

MREMAP_FIXED

Create a map at an exact place.

MREMAP_MAY_MOVE

Move the mapping if it cannot be expanded in its current location.

MREMAP_NONE

Dummy flag with all flags unset.

MSYNC_ASYNC

Move the mapping if it cannot be expanded in its current location.

MSYNC_INVALIDATE

Move the mapping if it cannot be expanded in its current location.

MSYNC_SYNC

Move the mapping if it cannot be expanded in its current location.

PROT_EXEC

The memory region can be executed.

PROT_NONE

Dummy flag with all flags unset.

PROT_READ

The memory region can be read from.

PROT_WRITE

The memory region can be written to.