Messages in this thread | | | Subject | Re: bogo-bogomips | From | Andi Kleen <> | Date | 19 Mar 2000 14:31:06 +0100 |
| |
"Andrew Morton" <morton@nortelnetworks.com> writes: > > I suggest the way to restore determinism to all of this is to unexport > loops_per_sec and __delay(), then to reimplement everything with > udelay() (and, perhaps, ndelay()).
loops_per_sec is needed to time inter processor interrupt waits, this cannot be handled with udelay. The IPI needs to wait a roughly constant time, because other CPUs can turn off interrupts while accessing some external hardware (like some intelligent RAID controllers), which does not get faster, even though the IPI wait runs faster.
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |