• James Bottomley's avatar
    pm_qos: Reimplement using plists · 5f279845
    James Bottomley authored
    A lot of the pm_qos extremal value handling is really duplicating what a
    priority ordered list does, just in a less efficient fashion.  Simply
    redoing the implementation in terms of a plist gets rid of a lot of this
    junk (although there are several other strange things that could do with
    tidying up, like pm_qos_request_list has to carry the pm_qos_class with
    every node, simply because it doesn't get passed in to
    pm_qos_update_request even though every caller knows full well what
    parameter it's updating).
    
    I think this redo is a win independent of android, so we should do
    something like this now.
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    Signed-off-by: default avatarmark gross <markgross@thegnar.org>
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    5f279845
pm_qos_params.c 11.2 KB