Re: [patch 12/16] sched: prevent interactions with throttled entities

From: Paul Turner
Date: Tue Jun 28 2011 - 00:47:32 EST


On Wed, Jun 22, 2011 at 2:34 PM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
> On Tue, 2011-06-21 at 00:17 -0700, Paul Turner wrote:
>> +       udd.cpu = rq->cpu;
>> +       udd.now = rq->clock_task;
>> +       walk_tg_tree_from(cfs_rq->tg, tg_unthrottle_down, tg_nop,
>> +                         (void *)&udd);
>
> How about passing rq along and not using udd? :-)
>

egads.. yes!
--
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/