Re: [RFC 0/12][PATCH] SCHED_DEADLINE: core of the scheduling class

From: Peter Zijlstra
Date: Tue Dec 29 2009 - 07:28:45 EST


On Fri, 2009-10-16 at 17:40 +0200, Raistlin wrote:
> + if (unlikely(task_has_deadline_policy(p) || task_has_rt_policy(p))) {

small nit, since both task_has_{deadline,rt}_policy() already have
unlikely()s in, this extra unlikely is not needed.

--
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/