Re: [PATCH 03/16] sched: SCHED_DEADLINE data structures.

From: Juri Lelli
Date: Mon Apr 23 2012 - 06:33:29 EST


On 04/23/2012 12:28 PM, Peter Zijlstra wrote:
On Mon, 2012-04-23 at 12:16 +0200, Juri Lelli wrote:
On 04/23/2012 11:34 AM, Peter Zijlstra wrote:
On Fri, 2012-04-06 at 09:14 +0200, Juri Lelli wrote:
+ p->sched_class =&dl_sched_class;

Does this patch actually compile? I've only seen a fwd declaration of
this variable but here you take an actual reference to it.

The patch compiles (just tested), although this sounds strange to
me too..

I just realized that its a proper definition without an initializer. So
no harm done, just a brain that still needs to wake up or so.. :-)

Ouch.. right! A struct sched_class after all! Regarding brains, mine should
be enough woken up at this time :-|.

Thanks,

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