lkml.org 
[lkml]   [2006]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] avoid cpu hot remove of cpus which have special RT tasks.
On 16 Jun 2006 11:14:57 +0200
Andi Kleen <ak@suse.de> wrote:

> KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> writes:
> >
> > This is a bit pessimistic. But forecd migration of RT task which is bounded
> > to the special cpu will cause unpredictable trouble, I think.
>
> More trouble than running it on a CPU that is about to fail?
> Doubtful.
>
With my patch, RT tasks will continute to run.

Assume there are some multi-threaded tasks with SCHED_FIFO.
If they uses some kind of synchronization in user land and task is migrated to
other cpus, it will cause dead-lock.


> It seems like a case of "never check for an error you don't know
> how to handle"
>

"Dont' migrate a task which may fall in dead-lock if it run on another cpu."

-Kame

-
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-16 12:27    [W:0.550 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site