[lkml]   [1999]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: What I suspect
    Linus Torvalds wrote:
    > So I think it's a great notion, but it just sucks in real life. And it
    > wouldn't allow the interesting things like gettimeofday() that really only
    > the kernel can do: you can calibrate the clock in user space, but you
    > cannot do things like automatically re-calibrate after a suspend event
    > etc, which is critical on laptops and will be even more so with the new
    > dual-frequency coppermine CPU's from Intel... (were not only the base time
    > changes, but the frequency of the clock changes too).
    > There _are_ a lot of issues like this where the kernel really knows things
    > that user space can not easily know.

    Wouldn't you specify

    struct fast_time {
    volatile int jiffies;
    volatile int CPUspeed;
    volatile int time_base;

    such that the kernel can adjust these values whenever the "resume"
    event comes in?


    ** ** ** +31-15-2137555 **
    *-- BitWizard writes Linux device drivers for any device you may have! --*
    "I didn't say it was your fault. I said I was going to blame it on you."

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:55    [W:0.027 / U:81.220 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site