lkml.org 
[lkml]   [2017]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 5/6] ANDROID: binder: don't check prio permissions on restore.
    On Thu, Oct 26, 2017 at 04:07:49PM +0200, Martijn Coenen wrote:
    > Because we have disabled RT priority inheritance for
    > the regular binder domain, the following can happen:
    >
    > 1) thread A (prio 98) calls into thread B
    > 2) because RT prio inheritance is disabled, thread B
    > runs at the lowest nice (prio 100) instead
    > 3) thread B calls back into A; A will run at prio 100
    > for the duration of the transaction

    That sounds wrong.. Why would you ever downgrade A?

    \
     
     \ /
      Last update: 2017-11-15 14:09    [W:2.297 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site