diff options
| author | Martijn Coenen <maco@android.com> | 2017-06-23 10:13:43 -0700 |
|---|---|---|
| committer | Martijn Coenen <maco@android.com> | 2017-07-14 10:25:02 +0200 |
| commit | 39140a0f385c456a43c2dd25bc01503cc3841b97 (patch) | |
| tree | 8d452e36a53f8d53fedf228eb4b1234a30f362f2 /include/uapi/linux | |
| parent | 7230f99185e5200b959ea3c4387bbea24e30bd9b (diff) | |
ANDROID: binder: add RT inheritance flag to node.
Allows a binder node to specify whether it wants to
inherit real-time scheduling policy from a caller.
Change-Id: I375b6094bf441c19f19cba06d5a6be02cd07d714
Signed-off-by: Martijn Coenen <maco@android.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/android/binder.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/android/binder.h b/include/uapi/linux/android/binder.h index 026558ac254d..70e252bf0be0 100644 --- a/include/uapi/linux/android/binder.h +++ b/include/uapi/linux/android/binder.h @@ -79,6 +79,14 @@ enum flat_binder_object_flags { */ FLAT_BINDER_FLAG_SCHED_POLICY_MASK = 3U << FLAT_BINDER_FLAG_SCHED_POLICY_SHIFT, + + /** + * @FLAT_BINDER_FLAG_INHERIT_RT: whether the node inherits RT policy + * + * Only when set, calls into this node will inherit a real-time + * scheduling policy from the caller (for synchronous transactions). + */ + FLAT_BINDER_FLAG_INHERIT_RT = 0x800, }; #ifdef BINDER_IPC_32BIT |
