Skip to content

Commit

Permalink
[PATCH] cpusets: re-enable "dynamic sched domains"
Browse files Browse the repository at this point in the history
Revert the hack introduced last week.

Signed-off-by: John Hawkes <hawkes@sgi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
John Hawkes authored and Linus Torvalds committed Sep 7, 2005
1 parent d1b5513 commit 0811bab
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,13 +628,6 @@ static int validate_change(const struct cpuset *cur, const struct cpuset *trial)
* lock_cpu_hotplug()/unlock_cpu_hotplug() pair.
*/

/*
* Hack to avoid 2.6.13 partial node dynamic sched domain bug.
* Disable letting 'cpu_exclusive' cpusets define dynamic sched
* domains, until the sched domain can handle partial nodes.
* Remove this #if hackery when sched domains fixed.
*/
#if 0
static void update_cpu_domains(struct cpuset *cur)
{
struct cpuset *c, *par = cur->parent;
Expand Down Expand Up @@ -675,11 +668,6 @@ static void update_cpu_domains(struct cpuset *cur)
partition_sched_domains(&pspan, &cspan);
unlock_cpu_hotplug();
}
#else
static void update_cpu_domains(struct cpuset *cur)
{
}
#endif

static int update_cpumask(struct cpuset *cs, char *buf)
{
Expand Down

0 comments on commit 0811bab

Please sign in to comment.