lkml.org 
[lkml]   [2006]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [BUG] Cpuset: dynamic sched domain crash on > 16 cpu systems.
Paul,

I don't have these type of systems. So can you please check if the appended
patch fixes your issue.

thanks,
suresh

--

Use the correct groups while initializing sched groups power for
allnodes_domain. This fixes the crash observed while creating
exclusive cpusets.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>

--- linux-2.6.18-rc1/kernel/sched.c~ 2006-07-20 20:54:44.425601384 -0700
+++ linux-2.6.18-rc1/kernel/sched.c 2006-07-20 21:05:05.535178376 -0700
@@ -6457,7 +6457,12 @@ static int build_sched_domains(const cpu
for (i = 0; i < MAX_NUMNODES; i++)
init_numa_sched_groups_power(sched_group_nodes[i]);

- init_numa_sched_groups_power(sched_group_allnodes);
+ if (sched_group_allnodes) {
+ int group = cpu_to_allnodes_group(first_cpu(*cpu_map));
+ struct sched_group *sg = &sched_group_allnodes[group];
+
+ init_numa_sched_groups_power(sg);
+ }
#endif

/* Attach the domains */
-
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/
\
 
 \ /
  Last update: 2006-07-21 08:21    [W:0.563 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site