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

Zwane Mwaikambo (zwane@holomorphy.com)
Mon, 17 Feb 2003 09:38:24 -0500 (EST)


On Mon, 17 Feb 2003, Ingo Molnar wrote:

>
> 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.

Ok i'll have a go at that instead, however how hard would it be to do a
multiple lock acquisition of that magnitude on 16+ cpus?

Thanks,
Zwane

-- 
function.linuxpower.ca
-
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/