lkml.org 
[lkml]   [2007]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [stable] 2.6.23 regression: top displaying 9999% CPU usage

    * Christian Borntraeger <borntraeger@de.ibm.com> wrote:

    > > - return clock_t_to_cputime(utime);
    > > + p->prev_utime = max(p->prev_utime, clock_t_to_cputime(utime));
    > > + return p->prev_utime;
    > > }
    > [...]
    >
    > I dont think it will work. It will make utime monotic, but stime can
    > still decrease. For example let sum_exec_runtime increase by a tiny
    > little bit while utime will get a full additional tick. stime is
    > sum-utime. So stime can still go backwards. So I think that we need
    > this kind of logic for stime as well, no?

    yeah, probably. Peter?

    Ingo
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-10-29 21:45    [W:0.022 / U:62.576 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site