Re: [PATCH] Optimise tick_nohz_stop_sched_tick() a bit

From: Thomas Gleixner
Date: Fri Feb 29 2008 - 10:58:54 EST


On Thu, 28 Feb 2008, Andrew Morton wrote:
> On Thu, 28 Feb 2008 15:10:50 +0100 Karsten Wiese <fzu@xxxxxxxxxxxxxxxxxxxxx> wrote:
> -static ktime_t tick_nohz_start_idle(int cpu, struct tick_sched *ts)
> +static ktime_t tick_nohz_start_idle(struct tick_sched *ts)
> {
> ktime_t now, delta;
>
> @@ -200,7 +200,7 @@ void tick_nohz_stop_sched_tick(void)
>
> cpu = smp_processor_id();
> ts = &per_cpu(tick_cpu_sched, cpu);
> - now = tick_nohz_start_idle(cpu, ts);
> + now = tick_nohz_start_idle(ts);
>
> /*
> * If this cpu is offline and it is the one which updates

Combined patch applied to hrt.git

Thanks,

tglx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/