Re: [PATCH 02/16] hrtimer: reorder code in __remove_hrtimer()

2014-04-01 Thread Viresh Kumar
On 28 March 2014 17:11, Viresh Kumar wrote: > diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c > @@ -887,25 +887,22 @@ static void __remove_hrtimer(struct hrtimer *timer, > struct hrtimer_clock_base *base, > unsigned long newstate, int re

[PATCH 02/16] hrtimer: reorder code in __remove_hrtimer()

2014-03-28 Thread Viresh Kumar
This patch reorders code within __remove_hrtimer() routine to achieve this: - no need to check if timer is the next timer to expire when high resolution mode isn't configured in kernel. - no need of local variable 'next_timer' - Validate 'reprogram' and hrtimer_hres_active() first as without thes