Re: CPU Hotplug: Hotplug Script And SIGPWR

Rusty Russell
2004-01-21T04:36:00Z

In message <20040120065207.GA10993@hockin.org> you write:
> On Tue, Jan 20, 2004 at 05:43:59PM +1100, Nick Piggin wrote:
> > Seems less robust and more ad hoc than SIGPWR, however.
>
> Disagree. SIGPWR will kill any process that doesn't catch it. That's
> policy. It seems more robust to let the hotplug script decide what to do.
> If it wants to kill each unrunnable task with SIGPWR, it can. But if it
> wants to let them live, it can.

The proposal was to send SIGPWR only if they don't have it set to the
default, for this reason.

I think that if your patch goes in, it will complement this solution
nicely.

Thanks!
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.