Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2dd161c7 authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by Samuel Pascua
Browse files

prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread.



Second argument is similar to PR_SET_TIMERSLACK, if non-zero then the
slack is set to that value otherwise sets it to the default for the thread.

Takes PID of the thread as the third argument.

This allows power/performance management software to set timer slack for
other threads according to its policy for the thread (such as when the
thread is designated foreground vs. background activity)

Change-Id: I744d451ff4e60dae69f38f53948ff36c51c14a3f
Signed-off-by: default avatarRuchi Kandoi <kandoiruchi@google.com>
Signed-off-by: default avatarSamuel Pascua <pascua.samuel.14@gmail.com>
parent d4958a63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment