Re: O(1) J9 scheduler: set_cpus_allowed

Ingo Molnar (mingo@elte.hu)
Sun, 3 Feb 2002 15:03:57 +0100 (CET)


On Fri, 1 Feb 2002, Erich Focht wrote:

> Do I understand correctly that there is no clean way right now to
> change cpus_allowed of a task (except for current)? In the old
> scheduler it was enough to set cpus_allowed and need_resched=1...

well, there is a way, by fixing the current mechanizm. But since nothing
uses it currently it wont get much testing. I only pointed out that the
patch does not solve some of the races.

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/