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

From: Raistlin
Date: Wed Jan 13 2010 - 05:42:13 EST


On Tue, 2009-12-29 at 13:27 +0100, Peter Zijlstra wrote:
> 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.
>
Coping. :-)

Thanks and regards,
Dario

--
<<This happens because I choose it to happen!>> (Raistlin Majere)
----------------------------------------------------------------------
Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa (Italy)

http://blog.linux.it/raistlin / raistlin@xxxxxxxxx /
dario.faggioli@xxxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part