Re: [patch] BFS 420: remove resched_cpu

From: Hillf Danton
Date: Thu May 24 2012 - 07:43:47 EST


On Wed, May 23, 2012 at 8:57 PM, Hillf Danton <dhillf@xxxxxxxxx> wrote:
> It is no longer used, so remove.
>
> --- a/kernel/sched/bfs.c    ÂMon May 14 20:50:38 2012
> +++ b/kernel/sched/bfs.c    ÂWed May 23 20:07:50 2012
> @@ -4988,14 +4988,6 @@ static inline struct sched_domain *lowes
>
> Â#endif /* Â(CONFIG_SCHED_MC || CONFIG_SCHED_SMT) */
>
> -static inline void resched_cpu(int cpu)
> -{
> - Â Â Â unsigned long flags;
> -
> - Â Â Â grq_lock_irqsave(&flags);
> - Â Â Â resched_task(cpu_curr(cpu));
> - Â Â Â grq_unlock_irqrestore(&flags);
> -}
>
> Â/*
> Â* In the semi idle case, use the nearest busy cpu for migrating timers
> --
--
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/