Re: [PATCH][2.5] Don't wake up tasks on offline processors

Ingo Molnar (mingo@elte.hu)
Mon, 17 Feb 2003 15:30:59 +0100 (CET)


On Mon, 17 Feb 2003, Zwane Mwaikambo wrote:

> This is the current code to migrate tasks off a dead cpu;

looks good in principle, but to avoid races i'd rather suggest to lock
_all_ runqueues in one big swoop, and then just move everything as
apropriate. It's not like this code has to be highly effective.

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/