Messages in this thread Patch in this message | | | Date | Thu, 20 Jul 2006 23:09:09 -0700 | From | "Siddha, Suresh B" <> | Subject | Re: [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/
| |