[PATCH 1/1] hotplug cpu: move tasks in empty cpusets to parent

2007-05-21 Thread Cliff Wickman
This patch corrects a situation that occurs when one disables all the cpus in a cpuset. At that point, any tasks in that cpuset were incorrectly moved. (Disabling all cpus in a cpuset caused it to inherit the cpus of its parent, which may overlap its exclusive sibling.) Such tasks should be mo

[PATCH 1/1] hotplug cpu: move tasks in empty cpusets to parent

2007-03-21 Thread Cliff Wickman
Submission #2: after style changes recommended by Randy Dunlap This patch corrects a situation that occurs when one disables all the cpus in a cpuset. At that point, any tasks in that cpuset are incorrectly moved. (Disabling all cpus in a cpuset caused it to inherit the cpus of its parent, wh

Re: [PATCH 1/1] hotplug cpu: move tasks in empty cpusets to parent

2007-03-20 Thread Randy Dunlap
On Tue, 20 Mar 2007 13:34:01 -0600 Cliff Wickman wrote: > > From: Cliff Wickman <[EMAIL PROTECTED]> > > This patch corrects a situation that occurs when one disables all the cpus > in a cpuset. > > At that point, any tasks in that cpuset are incorrectly moved (as I recall, > they were move to a

[PATCH 1/1] hotplug cpu: move tasks in empty cpusets to parent

2007-03-20 Thread Cliff Wickman
From: Cliff Wickman <[EMAIL PROTECTED]> This patch corrects a situation that occurs when one disables all the cpus in a cpuset. At that point, any tasks in that cpuset are incorrectly moved (as I recall, they were move to a sibling cpuset). Such tasks should be move the parent of their current c