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

From: KAMEZAWA Hiroyuki
Date: Sat Jun 17 2006 - 04:59:44 EST


On Sat, 17 Jun 2006 17:29:32 +1000
Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:

> > As SIGSTOP/KILL patch I posted, the apps shouldn't do unexpected
> > work, I think.
>
> I don't quite understand you here... the kernel doesn't need to enforce
> anything but a dumb fallback policy where userspace is otherwise capable
> of handling it themselves.

If all things about apps are properly maintained/managed, it is reconfigured
by the user/system admin *before* cpu hotremove.

The case "the kernel have to move the task to other cpu which user doesn't want"
means the application is already broken.

So, I think "stop mis-configurated process" can be one way for handling such apps.

For example)
After exchanging broken cpu, the application can continue its work with the
same # of cpus.

-Kame

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/