Re: [RFC][PATCH 17/17] sched: Sort hotplug vs ttwu queueing

From: Peter Zijlstra
Date: Mon Jan 03 2011 - 06:21:47 EST


On Wed, 2010-12-29 at 22:51 +0800, Yong Zhang wrote:
> > + rq = this_rq(); /* always enqueue locally */
>
> But it's possible that p is not allowed to run on this cpu,
> right?
>
>
Very good point, yes I totally forgot about that.. stupid
->cpus_allowed.

OK, I guess we need a new select_task_rq() call in the offline case..
--
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/