diff options
author | Szabolcs Nagy <nsz@port70.net> | 2014-07-20 16:13:52 +0200 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2014-07-20 18:49:16 +0200 |
commit | 871a09c86ff3466196c3bfded84c5bbeb0b07f81 (patch) | |
tree | 2c6b3ff5df0b15dcd77788be49e16b7100610d41 /include | |
parent | 6119fa32698b6e1f79564c2a30d81b179f48c156 (diff) | |
download | musl-871a09c86ff3466196c3bfded84c5bbeb0b07f81.zip musl-871a09c86ff3466196c3bfded84c5bbeb0b07f81.tar.gz musl-871a09c86ff3466196c3bfded84c5bbeb0b07f81.tar.bz2 |
add new PR_SET_THP_DISABLE and PR_GET_THP_DISABLE prctl flags
they can be used to set or query if transparent huge pages are disabled.
introduced in linux 3.15 commit a0715cc22601e8830ace98366c0c2bd8da52af52
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/prctl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/prctl.h b/include/sys/prctl.h index d41ff0f..8cb197c 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -92,6 +92,9 @@ extern "C" { #define PR_GET_TID_ADDRESS 40 +#define PR_SET_THP_DISABLE 41 +#define PR_GET_THP_DISABLE 42 + int prctl (int, ...); #ifdef __cplusplus |