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

Christoph Lameter
2007-08-15T20:39:47Z

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.