Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

From: Namhyung Kim
Date: Wed Jan 09 2013 - 03:00:16 EST


On Wed, 09 Jan 2013 15:38:11 +0800, Alex Shi wrote:
>>
>> Uh, we don't know if the target is this_cpu or previous cpu, If we just
>> check the target idle status, we may miss another idle cpu. So this
>> patch change the logical in this function.
>
> But, you can fold wake_affine into select_idle_sibling(). that will save
> a complicate calculation whichever cpu idle. :)

Looks like a good idea. :) Will send v2.

Thanks,
Namhyung
--
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/