lkml.org 
[lkml]   [2006]   [Jun]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 23 Jun 2006 10:18:15 +0200
FromIngo Molnar <>
SubjectRe: [PATCH] sched: CPU hotplug race vs. set_cpus_allowed()
* Kirill Korotaev <dev@openvz.org> wrote:

> Looks like there is a race between set_cpus_allowed() and 
> move_task_off_dead_cpu(). __migrate_task() doesn't report any err 
> code, so task can be left on its runqueue if its cpus_allowed mask 
> changed so that dest_cpu is not longer a possible target. Also, 
> chaning cpus_allowed mask requires rq->lock being held.
> 
> Signed-Off-By: Kirill Korotaev <dev@openvz.org>

good one!

Acked-by: Ingo Molnar <mingo@elte.hu>

	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/

\
 
 \ /
  Last update: 2006-06-23 10:26    [from the cache]
©2003-2008