diff options
author | Ruchi Kandoi <kandoiruchi@google.com> | 2014-04-22 19:04:10 -0700 |
---|---|---|
committer | Ruchi Kandoi <kandoiruchi@google.com> | 2014-04-22 19:04:10 -0700 |
commit | 186f3c24e472d038846d65b2a6ec5b55c92f19ef (patch) | |
tree | 88d2bb433d8fcd450af1f2bc9166a83cdee7db82 /original | |
parent | 383130eabe21d24a5a00791d416c712378a4d7f0 (diff) | |
download | kernel-headers-186f3c24e472d038846d65b2a6ec5b55c92f19ef.tar.gz |
prctl: Adds the PR_SET_TIMERSLACK_PID option
Allows software to set timer clack for other thread.
Change-Id: I66b58079de946f81486f57af2f2a758704bf9b05
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Diffstat (limited to 'original')
-rw-r--r-- | original/uapi/linux/prctl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/original/uapi/linux/prctl.h b/original/uapi/linux/prctl.h index 253856a..28bb0b3 100644 --- a/original/uapi/linux/prctl.h +++ b/original/uapi/linux/prctl.h @@ -149,6 +149,12 @@ #define PR_GET_TID_ADDRESS 40 +/* Sets the timerslack for arbitrary threads + * arg2 slack value, 0 means "use default" + * arg3 pid of the thread whose timer slack needs to be set + */ +#define PR_SET_TIMERSLACK_PID 41 + #define PR_SET_VMA 0x53564d41 # define PR_SET_VMA_ANON_NAME 0 |