[Top] [All Lists]

Re: MSEC_TO_JIFFIES is messed up...

To: Ingo Molnar <mingo@xxxxxxx>
Subject: Re: MSEC_TO_JIFFIES is messed up...
From: Andrew Morton <akpm@xxxxxxxx>
Date: Wed, 12 May 2004 14:07:29 -0700
Cc: Valdis.Kletnieks@xxxxxx, davidel@xxxxxxxxxxxxxxx, jgarzik@xxxxxxxxx, greg@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20040512205028.GA18806@xxxxxxx>
References: <20040512020700.6f6aa61f.akpm@xxxxxxxx> <20040512181903.GG13421@xxxxxxxxx> <40A26FFA.4030701@xxxxxxxxx> <20040512193349.GA14936@xxxxxxx> <200405121947.i4CJlJm5029666@xxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.58.0405121255170.11950@xxxxxxxxxxxxxxxxxxxxxxx> <200405122007.i4CK7GPQ020444@xxxxxxxxxxxxxxxxxxxxxxx> <20040512202807.GA16849@xxxxxxx> <20040512203500.GA17999@xxxxxxx> <20040512205028.GA18806@xxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Ingo Molnar <mingo@xxxxxxx> wrote:
> yet another patch - this time it's: complete, covers irda, accelerates
>  HZ=100, unifies the slightly differing namespaces and compiles/boots as
>  well.
> ...
> [hz-cleanup-2.6.6-A2  text/plain (2657 bytes)]

This doesn't have the little round up which some implementations had, so
someone who tries to sleep for 9 millisscondes on a 100HZ box may end up in
a busywait.  Looks risky.

The SCTP version looks like it'll generate awful code, so let's not use

<Prev in Thread] Current Thread [Next in Thread>