If you look at the 2.1.42 rtlinux pathc, you will see that I use the apic
timers by default for the scheduler. We are hacking away at timing
code for 2.2.pre6 right now -- good ideas appreciated, working code gratefully
accepted. I would like to
make the scheduler be able to latch onto any timer but use apic by default.
Linux uses the apic timers for scheduling. If you just want to do timing
in an interrupt, it may be better to use the rtdsc or whatever it is called: see
arch/kernel/i386/timex.c for the asm("rt...") instruction.

The latest fix to 2.2-pre6-RTLSMP has been up for 8 hours now.
It only has soft interrupts
working though. Axel Bernal is going to have brilliant timing code working
tomorrow and then we can start to move the modules.



On Sat, Jan 16, 1999 at 09:18:37AM +0100, Paolo Mantegazza wrote:
> Hy,
> 
> having a look at the 2.2.pre?? I've seen that Linux uses local apic
> timers, I think just for profiling, when they are there (SMP).
> If I grab one of them to do some precise short timings in an interrupt
> will Linux  care?
> If I change the scaling of a local apinc timer will Linux  care?
> 
> Ciao, Paolo.
> 
> 
> 
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/

-- 

---------------------------------
Victor Yodaiken
Department of Computer Science
New Mexico Institute of Mining and Technology
Socorro NM 87801
Homepage                http://www.cs.nmt.edu/~yodaiken
PowerPC Linux page      http://linuxppc.cs.nmt.edu
Real-Time Page          http://rtlinux.org

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to