[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-smp
Subject:    Re: Programming local APIC timers ( from other CPU )
From:       Ingo Molnar <mingo () chiara ! csoma ! elte ! hu>
Date:       1999-09-27 23:20:40
[Download RAW message or body]


On Mon, 27 Sep 1999, Hugo Varotto wrote:

> which is completely based in the initial calibration of the SMP local
> timers. Is there a way to select the APIC timer of a different CPU from
> the one that is currently running ? I fear that not ( that I can only
> update the APIC timer of the current CPU ), but don't have with me the
> APIC manual to verify it.

no, the 'local APIC timer' interrupt is only delivered to the local CPU
and it's settings can only be modified from that CPU. To modify the APIC
timer from another CPU you'll need to set up an IPI handler, take a look
at how smp_send_stop() or smp_reschedule_cpu() does it.

-- mingo

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to majordomo@vger.rutgers.edu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic