Re: [PATCH v3 2/6] ANDROID: binder: add min sched_policy to node.

2017-11-16 Thread Martijn Coenen
On Wed, Nov 15, 2017 at 2:02 PM, Peter Zijlstra wrote: >> 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. > > I will break that without consideration if I have to. That really isn't > some

Re: [PATCH v3 2/6] ANDROID: binder: add min sched_policy to node.

2017-11-15 Thread Peter Zijlstra
On Thu, Oct 26, 2017 at 04:07:46PM +0200, Martijn Coenen wrote: > 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 m