RE: [PATCH] hrtimer:do not start hrtimer on other cpu if it is the leftmost timer.

2014-04-30 Thread Ma, Xindong
> -Original Message- > From: viresh.li...@gmail.com [mailto:viresh.li...@gmail.com] On Behalf Of > Viresh Kumar > Sent: Wednesday, April 30, 2014 6:36 PM > To: Ma, Xindong > Cc: Thomas Gleixner; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] hrtimer:do not start

Re: [PATCH] hrtimer:do not start hrtimer on other cpu if it is the leftmost timer.

2014-04-30 Thread Viresh Kumar
Hi Leon, On Wed, Apr 30, 2014 at 2:13 PM, Leon Ma wrote: > On SMP system, if cpuX is idle and it starts an hrtimer, the timer > will be started on cpuY. But it can not reprogram the event source > on cpuY. The timer is inserted into rb tree of cpuY, if it is the > leftmost timer on cpuY and it is

[PATCH] hrtimer:do not start hrtimer on other cpu if it is the leftmost timer.

2014-04-30 Thread Leon Ma
On SMP system, if cpuX is idle and it starts an hrtimer, the timer will be started on cpuY. But it can not reprogram the event source on cpuY. The timer is inserted into rb tree of cpuY, if it is the leftmost timer on cpuY and it is a very short timer, following hrtimers started on cpuY will also n