Re: Which CPU do timers run on?

george anzinger (george@mvista.com)
Mon, 10 Sep 2001 11:34:21 -0700


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
-
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/