ANDROID: binder: add min sched_policy to node.
authorMartijn Coenen <maco@google.com>
Wed, 7 Jun 2017 16:29:14 +0000 (09:29 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commit69308b3b07dd86c163c4ee7ecd05aa4089f06485
tree677fee0a0877d565e1dd7d7d18e87e5b72ae9054
parent37b344125cf1ff3a6e4e3dde443eb5657b44f2cb
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