Re: bogo-bogomips

From: Andi Kleen (ak@suse.de)
Date: Sun Mar 19 2000 - 08:31:06 EST


"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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:26 EST