Re: Regression in 2.6.23-rc2-mm2, mounting cpusets causes a hang

From: Christoph Lameter
Date: Wed Aug 15 2007 - 16:39:49 EST


On Wed, 15 Aug 2007, Serge E. Hallyn wrote:

> > Index: Linux/mm/page_alloc.c
> > ===================================================================
> > --- Linux.orig/mm/page_alloc.c 2007-08-15 10:01:23.000000000 -0400
> > +++ Linux/mm/page_alloc.c 2007-08-15 10:05:41.000000000 -0400
> > @@ -52,7 +52,14 @@
> > */
> > nodemask_t node_states[NR_NODE_STATES] __read_mostly = {
> > [N_POSSIBLE] = NODE_MASK_ALL,
> > - [N_ONLINE] = { { [0] = 1UL } }
> > + [N_ONLINE] = { { [0] = 1UL } },
> > +#ifndef CONFIG_NUMA
> > + [N_NORMAL_MEMORY] = { { [0] = 1UL } },
> > +#ifdef CONFIG_HIGHMEM
> > + [N_HIGH_MEMORY] = { { [0] = 1UL } },
> > +#endif
> > + [N_CPU] = { { [0] = 1UL } },
> > +#endif /* NUMA */
> > };
> > EXPORT_SYMBOL(node_states);

> Will let you know how it works.

The patch above looks like we are heading in the right direction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/