| To: | Valdis.Kletnieks@xxxxxx |
|---|---|
| Subject: | Re: MSEC_TO_JIFFIES is messed up... |
| From: | Ingo Molnar <mingo@xxxxxxx> |
| Date: | Wed, 12 May 2004 22:28:07 +0200 |
| Cc: | Davide Libenzi <davidel@xxxxxxxxxxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>, Greg KH <greg@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Netdev <netdev@xxxxxxxxxxx> |
| In-reply-to: | <200405122007.i4CK7GPQ020444@turing-police.cc.vt.edu> |
| References: | <20040512020700.6f6aa61f.akpm@osdl.org> <20040512181903.GG13421@kroah.com> <40A26FFA.4030701@pobox.com> <20040512193349.GA14936@elte.hu> <200405121947.i4CJlJm5029666@turing-police.cc.vt.edu> <Pine.LNX.4.58.0405121255170.11950@bigblue.dev.mdolabs.com> <200405122007.i4CK7GPQ020444@turing-police.cc.vt.edu> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
* Valdis.Kletnieks@xxxxxx <Valdis.Kletnieks@xxxxxx> wrote:
> The problem is that even for the i386 family, there's no inherent
> reason why the value of HZ is nailed to 1000 [...]
The code is 100% correct, but not 100% clean, and definitely not
documented. The reason for the change was to avoid unnecessary integer
multiplications and divisions in sched.c.
the attached patch (against BK-curr) cleans this up and makes the
defines generic and arch-independent.
Ingo
|
| Previous by Date: | Re: MSEC_TO_JIFFIES is messed up..., Bill Rugolsky Jr. |
|---|---|
| Next by Date: | Re: MSEC_TO_JIFFIES is messed up..., Ingo Molnar |
| Previous by Thread: | Re: MSEC_TO_JIFFIES is messed up..., Valdis . Kletnieks |
| Next by Thread: | Re: MSEC_TO_JIFFIES is messed up..., Ingo Molnar |
| Indexes: | [Date] [Thread] [Top] [All Lists] |