ANDROID: binder: add min sched_policy to node.
authorMartijn Coenen <maco@google.com>
Wed, 7 Jun 2017 16:29:14 +0000 (09:29 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 26 Feb 2019 16:34:26 +0000 (16:34 +0000)
commitfbb541d242be05f484c1198ba6aa7fcf4730fa3a
tree5aeea0b2e4def90105dcfc170999e87efb7789ce
parent425bb8fcb7e8396790976445b4af083c886517e6
ANDROID: binder: add min sched_policy to node.

This change adds flags to flat_binder_object.flags
to allow indicating a minimum scheduling policy for
the node. It also clarifies the valid value range
for the priority bits in the flags.

Internally, we use the priority map that the kernel
uses, e.g. [0..99] for real-time policies and [100..139]
for the SCHED_NORMAL/SCHED_BATCH policies.

Bug: 34461621
Bug: 37293077
Change-Id: I12438deecb53df432da18c6fc77460768ae726d2
Signed-off-by: Martijn Coenen <maco@google.com>
drivers/android/binder.c
include/uapi/linux/android/binder.h