Re: On migrate_disable() and latencies

From: Peter Zijlstra
Date: Fri Jul 22 2011 - 10:58:09 EST


On Fri, 2011-07-22 at 12:49 +0200, Peter Zijlstra wrote:
> > The scenario is on where you stack N migrate-disable tasks on a run
> > queue (necessarily of increasing priority). Doing this requires all cpus
> > in the system to be as busy, for otherwise the task would simply be
> > moved to another cpu.
>
> This implies it requires at least nr-cpus^2 tasks to pull this off.

OK, scrap that, 2*nr-cpus is enough.
--
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/