Re: Which CPU do timers run on?

From: george anzinger (george@mvista.com)
Date: Mon Sep 10 2001 - 13:34:21 EST


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/



This archive was generated by hypermail 2b29 : Sat Sep 15 2001 - 21:00:27 EST