Module flags

Source
Expand description

All possible flags for VmaRef.

Constantsยง

ACCOUNT
Is a VM accounted object.
ARCH_1
Architecture-specific flag.
DONTCOPY
Do not copy this vma on fork.
DONTDUMP
Do not include in the core dump.
DONTEXPAND
Cannot expand with mremap().
EXEC
Mapping allows execution.
HUGEPAGE
MADV_HUGEPAGE marked this vma.
HUGETLB
Huge TLB Page VM.
IO
Memory mapped I/O or similar.
LOCKONFAULT
Lock the pages covered when they are faulted in.
MAYEXEC
Mapping may be updated to allow execution.
MAYREAD
Mapping may be updated to allow reads.
MAYSHARE
Mapping may be updated to be shared.
MAYWRITE
Mapping may be updated to allow writes.
MERGEABLE
KSM may merge identical pages.
MIXEDMAP
Can contain struct page and pure PFN pages.
NOHUGEPAGE
MADV_NOHUGEPAGE marked this vma.
NONE
No flags are set.
NORESERVE
Should the VM suppress accounting.
PFNMAP
Page-ranges managed without struct page, just pure PFN.
READ
Mapping allows reads.
SHARED
Mapping is shared.
SOFTDIRTY
Not soft dirty clean area.
SYNC
Synchronous page faults. (DAX-specific)
WIPEONFORK
Wipe VMA contents in child on fork.
WRITE
Mapping allows writes.