Re: 2.6.8-rc2-mm1

From: Jesse Barnes
Date: Wed Jul 28 2004 - 11:44:34 EST


On Wednesday, July 28, 2004 2:04 am, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8-rc2/2.6
>.8-rc2-mm1/

sd->groups isn't initialized this early (I know because I ran into this when I
first tried to merge Suresh's patch too). You've already got the real fix in
your tree, you just need this little bit torn out.

Thanks,
Jesse
diff -Napur -X /home/jbarnes/dontdiff linux-2.6.8-rc2-mm1.orig/kernel/sched.c linux-2.6.8-rc2-mm1/kernel/sched.c
--- linux-2.6.8-rc2-mm1.orig/kernel/sched.c 2004-07-28 09:36:36.000000000 -0700
+++ linux-2.6.8-rc2-mm1/kernel/sched.c 2004-07-28 09:34:45.000000000 -0700
@@ -3770,8 +3770,6 @@ __init static void arch_init_sched_domai
cpumask_t nodemask = node_to_cpumask(cpu_to_node(i));

#ifdef CONFIG_NUMA
- if (i != first_cpu(sd->groups->cpumask))
- continue;
sd = &per_cpu(node_domains, i);
group = cpu_to_node_group(i);
*sd = SD_NODE_INIT;