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

From: Peter Zijlstra
Date: Wed Jun 22 2011 - 17:36:27 EST


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? :-)
--
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/