lkml.org 
[lkml]   [2009]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] fix for sched_clock() when using jiffies
    On Sat, 9 May 2009 13:35:37 +0930 Ron <ron@debian.org> wrote:

    > All 'real'
    > sched_clock implementations (empirically) count from 0, except this
    > default one.

    Well you live and learn.

    Yup, we should make the toy sched_clock() match the fancy ones.


    otoh, sched_clock() should do the INTITAL_JIFFIES offsetting as well,
    because there are probably callers of sched_clock() who are buggy in
    the presence of sched_clock()-return-value wraparound.

    otooh, sched_clock() wraparound takes nearly 500 years so we can
    afford to wait until linux-2.7.x to fix this.


    I'll go off and find your original patch. This was all a difficult way of
    writing the changelog ;)


    \
     
     \ /
      Last update: 2009-05-09 09:09    [W:3.317 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site