lkml.org 
[lkml]   [2002]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: do_gettimeofday vs. rdtsc in the scheduler
Andi Kleen writes:
> On Tue, Sep 17, 2002 at 04:46:49PM -0700, David S. Miller wrote:
> > From: Andi Kleen <ak@suse.de>
> > Date: Wed, 18 Sep 2002 01:52:09 +0200
> >
> > On Tue, Sep 17, 2002 at 04:32:46PM -0700, David S. Miller wrote:
> > > I know full well it isn't currently :-)
> >
> > Sorry, it's wrong. The x86 architecture has several such registers
> >
> > Not in the processor, and not architectually specified.
> >
> > All of the things you list are in the scope of things outside
> > the cpu.
>
> The local APIC timer is specified in the Intel Manual volume 3 for example.
> It's an optional feature (CPUID), but pretty much everyone has it.

Except that like everything else related to the local APIC, you're at
the mercy of the competence (or lack thereof) of the BIOS implementors.
- There are plenty of laptops whose CPUs have local APICs but whose
BIOSen go berserk if you enable it. There are also plenty of laptops
that don't have one, since Intel removed it from many Mobile P6 CPUs.
- There are even some desktop boards with BIOS problems, including Intel's
AL440LX on which Linux must stay away from the local APIC timer.

To assume the local APIC works on 686-class UP boxes is not realistic, alas.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [from the cache]
©2003-2011 Jasper Spaans