Re: Clockevents: one-shoot mode is never enabled if local apic timer is disabled

2007-04-02 Thread Thomas Gleixner
On Mon, 2007-04-02 at 13:23 +0300, Maxim Levitsky wrote: > Hi, > > Fortunately on my system lapic timer works. > But then tick_broadcast_switch_to_oneshot is redundant, isn't it? No, it's necessary for the systems where the local APIC timer stops in C3(C2), as we do not know this at the point w

Re: Clockevents: one-shoot mode is never enabled if local apic timer is disabled

2007-04-02 Thread Maxim Levitsky
On Monday 02 April 2007 12:34:44 Thomas Gleixner wrote: > Maxim, > > can you please fix your mail client to do proper line wraps at 78 > chars ? Sure, but this way it mangles patches :-) > > On Mon, 2007-04-02 at 11:57 +0300, Maxim Levitsky wrote: > > Hi, > > > > I finally figured out why one-sh

Re: Clockevents: one-shoot mode is never enabled if local apic timer is disabled

2007-04-02 Thread Thomas Gleixner
Maxim, can you please fix your mail client to do proper line wraps at 78 chars ? On Mon, 2007-04-02 at 11:57 +0300, Maxim Levitsky wrote: > Hi, > > I finally figured out why one-shoot mode is enabled on my system only > and only if local apic is enabled. You could have asked me :) > I tried to

Clockevents: one-shoot mode is never enabled if local apic timer is disabled

2007-04-02 Thread Maxim Levitsky
Hi, I finally figured out why one-shoot mode is enabled on my system only and only if local apic is enabled. While reading through dynatic code it looks that all clockevent devices are put in periodic mode. Then hrtimer_run_queues (which runs nevertheless CONFIG_HIGH_RES_TIMERS enabled or not)