* Which CPU do timers run on?
@ 2001-09-09 20:46 Timur Tabi
2001-09-10 18:34 ` george anzinger
0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2001-09-09 20:46 UTC (permalink / raw)
To: linux-kernel
When I create a timer (init_timer(), etc) on an SMP system, will the timer
always run on one CPU, or can it run on any CPU? If I disabled interrupts on
only one CPU, will that disable the timer completely?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Which CPU do timers run on?
2001-09-09 20:46 Which CPU do timers run on? Timur Tabi
@ 2001-09-10 18:34 ` george anzinger
0 siblings, 0 replies; 2+ messages in thread
From: george anzinger @ 2001-09-10 18:34 UTC (permalink / raw)
To: Timur Tabi; +Cc: linux-kernel
Timur Tabi wrote:
>
> When I create a timer (init_timer(), etc) on an SMP system, will the timer
> always run on one CPU, or can it run on any CPU? If I disabled interrupts on
> only one CPU, will that disable the timer completely?
>
I believe that timers, like other interrupts, are handled by the CPU
pool. Interrupts can be pinned to a particular cpu, but I don't think
the timer interrupt is.
George
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-10 18:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-09 20:46 Which CPU do timers run on? Timur Tabi
2001-09-10 18:34 ` george anzinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).