lkml.org 
[lkml]   [2009]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [patch 2/2] sched: fix nr_uninterruptible accounting of frozen tasks really
    From
    Date
    On Fri, 2009-07-17 at 08:51 -0700, Matt Helsley wrote:

    > So it's not clear to me how adding PF_FREEZING fixes anything. Am I
    > missing something?

    Yep, PF_FROZEN is only observed going into schedule(), on the way back
    out thaw_process() will already have cleared the flag.

    So we don't increment in deactivate_task(), but we do decrement in
    activate_task(), yielding for some very unbalanced accounting.



    \
     
     \ /
      Last update: 2009-07-17 18:15    [W:0.020 / U:1.564 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site