| To: | Andrew Morton <akpm@xxxxxxxx> |
|---|---|
| Subject: | Re: MSEC_TO_JIFFIES is messed up... |
| From: | Ingo Molnar <mingo@xxxxxxx> |
| Date: | Wed, 12 May 2004 23:17:48 +0200 |
| Cc: | Valdis.Kletnieks@xxxxxx, davidel@xxxxxxxxxxxxxxx, jgarzik@xxxxxxxxx, greg@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040512140729.476ace9e.akpm@xxxxxxxx> |
| References: | <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> <20040512140729.476ace9e.akpm@xxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
* Andrew Morton <akpm@xxxxxxxx> wrote:
> 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.
ok. -A3 attached, it does the roundup in the msec->jiffies conversion.
(not the other way around though, and that's fine.)
Ingo
|
| Previous by Date: | Re: MSEC_TO_JIFFIES is messed up..., Andrew Morton |
|---|---|
| Next by Date: | Re: MSEC_TO_JIFFIES is messed up..., Ingo Molnar |
| Previous by Thread: | Re: MSEC_TO_JIFFIES is messed up..., Andrew Morton |
| Next by Thread: | Re: MSEC_TO_JIFFIES is messed up..., William Lee Irwin III |
| Indexes: | [Date] [Thread] [Top] [All Lists] |