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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux