Thread (15 messages) 15 messages, 7 authors, 2004-05-13

Re: MSEC_TO_JIFFIES is messed up...

From: Ingo Molnar <hidden>
Date: 2004-05-12 20:59:49
Also in: lkml

* Valdis.Kletnieks@vt.edu [off-list ref] 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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help