lkml.org 
[lkml]   [2000]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: bogo-bogomips
From
Date
"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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.082 / U:1.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site