Which CPU do timers run on?
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?
Quoted 5 lines · Timur Tabi
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