mirror of git://git.musl-libc.org/musl
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
This commit is contained in:
parent
6119fa3269
commit
871a09c86f
|
@ -92,6 +92,9 @@ extern "C" {
|
||||||
|
|
||||||
#define PR_GET_TID_ADDRESS 40
|
#define PR_GET_TID_ADDRESS 40
|
||||||
|
|
||||||
|
#define PR_SET_THP_DISABLE 41
|
||||||
|
#define PR_GET_THP_DISABLE 42
|
||||||
|
|
||||||
int prctl (int, ...);
|
int prctl (int, ...);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue