Re: [RFC][PATCH] avoid cpu hot remove of cpus which have special RT tasks.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Friday 16 June 2006 12:26, KAMEZAWA Hiroyuki wrote:
> On 16 Jun 2006 11:14:57 +0200
> Andi Kleen <[email protected]> wrote:
> > KAMEZAWA Hiroyuki <[email protected]> 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.

That's the problem - if the CPU is failing and you have to remove
it the task will likely corrupt its data or fail in other ways
if it doesn't allow it.

Better to let RT tasks run a little slower on another CPU.

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

If its CPU fails much worse things than that will happen.

One way might be to break affinity of all processes in the system on hot unplug
- then your deadlock would be avoided - but it might be a bit radical.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux