enum rpc_madv_value
Overview
Value passed to rpc_madvise() More…
#include <te_rpc_sys_mman.h> enum rpc_madv_value { RPC_MADV_NORMAL = 1, RPC_MADV_RANDOM, RPC_MADV_SEQUENTIAL, RPC_MADV_WILLNEED, RPC_MADV_DONTNEED, RPC_MADV_REMOVE, RPC_MADV_DONTFORK, RPC_MADV_DOFORK, RPC_MADV_HWPOISON, RPC_MADV_MERGEABLE, RPC_MADV_UNMERGEABLE, RPC_MADV_SOFT_OFFLINE, RPC_MADV_HUGEPAGE, RPC_MADV_NOHUGEPAGE, RPC_MADV_DONTDUMP, RPC_MADV_DODUMP, RPC_MADV_FREE, RPC_MADV_WIPEONFORK, RPC_MADV_KEEPONFORK, RPC_MADV_UNKNOWN, };
Detailed Documentation
Value passed to rpc_madvise()
Enum Values
RPC_MADV_NORMAL
No special treatment
RPC_MADV_RANDOM
Expect page references in random order
RPC_MADV_SEQUENTIAL
Expect page references in sequential order
RPC_MADV_WILLNEED
Expect access in the near future
RPC_MADV_DONTNEED
Do not expect access in the near future
RPC_MADV_REMOVE
Free up a given range of pages and its associated backing store
RPC_MADV_DONTFORK
Pages should not be available to a child after fork()
RPC_MADV_DOFORK
Undo effect of RPC_MADV_DONTFORK
RPC_MADV_HWPOISON
Poison the pages (so that references to them will be handled like a hardware memory corruption)
RPC_MADV_MERGEABLE
Enable Kernel Samepage Merging
RPC_MADV_UNMERGEABLE
Undo the effect of RPC_MADV_MERGEABLE
RPC_MADV_SOFT_OFFLINE
Soft offline the pages
RPC_MADV_HUGEPAGE
Enable Transparent Huge Pages
RPC_MADV_NOHUGEPAGE
Ensure that pages will not be collapsed into huge pages
RPC_MADV_DONTDUMP
Exclude pages from a core dump
RPC_MADV_DODUMP
Undo the effect of RPC_MADV_DONTDUMP
RPC_MADV_FREE
The application no longer requires these pages, kernel can free them
RPC_MADV_WIPEONFORK
After fork() a child will find these pages zero-filled
RPC_MADV_KEEPONFORK
Undo the effect of RPC_MADV_WIPEONFORK
RPC_MADV_UNKNOWN
Unknown value