ANDROID: binder: add min sched_policy to node.
authorMartijn Coenen <maco@google.com>
Wed, 7 Jun 2017 16:29:14 +0000 (09:29 -0700)
committerMartijn Coenen <maco@android.com>
Wed, 19 Jul 2017 08:12:52 +0000 (10:12 +0200)
commit6aac9798d8eedf25c9c643dbaa62f44022d14034
treedc46be55ef563933e9d176d3edbc4d79dc6452ef
parent57b2ac6c8ee0ca37b0ae2bd15c066693a2e5cdd6
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