Re: [patch] sched-HT-2.6.0-test11-A5

From: William Lee Irwin III
Date: Mon Dec 08 2003 - 14:38:25 EST


On Mon, Dec 08, 2003 at 09:56:22AM -0800, William Lee Irwin III wrote:
> Furthermore, sched_map_runqueue() is performed after all the idle
> threads are running and all the notifiers have kicked the migration
> threads, but does no locking whatsoever.

Not quite true for migration threads; they're kicked off smp_init(),
called strictly after smp_prepare_cpus(), so all's well with them.
The idle threads shouldn't enter schedule() either, since
start_secondary() spins until smp_init() sets the smp_commenced_mask
bits in cpu_up().

So the important parts of all that were unfortunately all wrong. I'll
look again.


-- wli
-
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/