Re: [Patch] Re: Nasty suprise with uptime

Gerhard Mack
2001-10-31T20:10:30Z

On Wed, 31 Oct 2001, Richard B. Johnson wrote:

> On Wed, 31 Oct 2001, Gerhard Mack wrote:
>
> > Why exactly do we use the jiffie count for calculating uptime? Why not
> > just record the startup time and compare when needed?
> >
> >
> > Gerhard
> >
> Because you get it for free. The counter is necessary for time-outs
> so you need it. If it starts at zero, you get uptime in HZ.

Yes that I understand and it works right up until the jiffie count wraps.
But now we have people adding cost to everything else just so we can all
have good uptime values. Since AFIK the drivers handle the wrap cleanly
the only thing that it bothers is the uptime stats.

Now we have people making jiffies more expensive just to deal with uptime.
At least as far as I can see it should just be easier/better to make
uptime use something else.

Or am I completly off base?

Gerhard

--
Gerhard Mack

gmack@innerfire.net

<>< As a computer I find your faith in technology amusing.