Re: fix zonelist ordering for NUMA

From: Jesse Barnes <jbarnes_at_sgi.com>
Date: 2004-02-26 03:54:09
On Wed, Feb 25, 2004 at 02:01:16PM +0900, j-nomura@ce.jp.nec.com wrote:
> >   1) make it arch independent
> >      this means having arch code populate a SLIT-like table for use by
> >      the generic zonelist building code
> 
> I would like to hear the comments from people on other arch.
> If the same ordering rule can be applicable for others, it's nice.

Martin, does a scheme like this sound ok with you?  Arch specific code
would populate a node distance table, which would be used to build each
pgdat->zonelist in a smarter way than we do currently.

> >   2) handle the cases that Erich talked about a bit better
> >   3) some systems have pgdats w/o any CPUs associated with them, they
> >      need to be dealt with differently than regular nodes, maybe as
> >      extensions to an existing node
> > 
> > The final routine might look something like (many thanks to pj for
> > hitting me with a cluebat about this):
> 
> It looks cleaner than mine. I'll try it.

Cool, thanks.

Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Feb 25 11:57:13 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:22 EST