Re: Calling current() from interrupt context

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Oct 09 2000 - 17:52:56 EST


> > I dont actually know a CPU that doesnt have one in SMP mode. Its just often
> > behind an I/O interface that is slower than ideal
>
> Where would you put it for IA32 ? I don't know any free MSR that could
> be abused for that, and acessing MSRs is insanely slow anyways. Any
> other ideas ?

The CPU identifier is in the APIC in SMP IA32. 2.0 reads it off the APIC each
time. Its a few cycles so the 2.2 approach is nicer

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



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:14 EST