Re: O(1) J9 scheduler: set_cpus_allowed

From: Ingo Molnar (mingo@elte.hu)
Date: Sun Feb 03 2002 - 09:03:57 EST


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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:27 EST