Re: Linux 2.2.18: /proc/apm slows system time (was: Linux 2.2.19pre3)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Dec 31 2000 - 08:37:00 EST


> > while { true } do cat /proc/apm done
> >
> > made the box visibly stall and jerk doing X operations
>
> Ok, now, what can be done about the stall? I assume nothing serious.

Nothing much

> Is there at least away we can recover the proper system time after these
> stalls?

If you have a tsc on your chip - I think most modern laptops will do as they
tend to be pentium/mmx k6 or pII/pIII processors, then you can check the
elapsed CPU cycles and recover the jiffies from that. Might be an interesting
exercise for someone

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



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:15 EST