Re: [Lse-tech] Re: [PATCH] O(1) scheduler set_cpus_allowed for non-current tasks

Dipankar Sarma (dipankar@in.ibm.com)
Mon, 25 Feb 2002 17:58:53 +0530


On Sat, Feb 23, 2002 at 01:47:43PM +1100, Rusty Russell wrote:
> But this particular problem did not hurt me, since I now run a
> "suicide" thread on the dying CPU, making it safe and trivial to manually
> re-queue processes. The question of what to do with processes which cannot
> be scheduled on any remaining CPUs is another interesting question.

If these are processes that are bound to the CPU to be shut down,
wouldn't it make sense to fail the CPU shut down operation ? If you
are giving enough control to the user to make CPU affinity decisions,
they better know how to cleanup before shutting down a CPU.

Thanks

-- 
Dipankar Sarma  <dipankar@in.ibm.com> http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.
-
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/