2007-05-30 13:39:43

by Joe Korty

[permalink] [raw]
Subject: add_timer_on and CONFIG_NO_HZ

Hi Thomas,
It seems that when add_timer_on() is used to put a timer
on another cpu's timer queue, that remote cpu should be
made to reprogram its hardware APIC timer, when CONFIG_NO_HZ=y
and the new timer is put at the front of the timer wheel.

Regards,
Joe


2007-05-30 15:57:19

by Thomas Gleixner

[permalink] [raw]
Subject: Re: add_timer_on and CONFIG_NO_HZ

Joe,

On Wed, 2007-05-30 at 09:28 -0400, Joe Korty wrote:
> Hi Thomas,
> It seems that when add_timer_on() is used to put a timer
> on another cpu's timer queue, that remote cpu should be
> made to reprogram its hardware APIC timer, when CONFIG_NO_HZ=y
> and the new timer is put at the front of the timer wheel.

indeed, that makes sense. I look into this. Thanks for pointing it out.

tglx