Re: [PATCH] migration thread fix

Ingo Molnar (mingo@elte.hu)
Fri, 19 Apr 2002 06:31:15 +0200 (CEST)


On Thu, 18 Apr 2002, Erich Focht wrote:

> The patch below applies to the 2.5.8 kernel. It does two things:
>
> 1: Fixes a BUG in the migration threads: the interrupts MUST be disabled
> before the double runqueue lock is aquired, otherwise this thing will
> deadlock sometimes.
>
> 2: Streamlines the initialization of migration threads. Instead of
> fiddling around with cache_deccay_ticks, waiting for migration_mask bits
> and relying on the scheduler to distribute the tasks uniformly among
> processors, it starts the migration thread on the boot cpu and uses it
> to reliably distribute the other threads to their target cpus.
>
> Please consider applying it!

looks perfectly good to me. Even with wli's patch i saw some migration
thread initialization weirdnesses.

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/