Re: [Lse-tech] Re: fix zonelist ordering for NUMA

From: <j-nomura_at_ce.jp.nec.com>
Date: 2004-02-27 16:38:14
Hi,

> >> +#ifndef node_distance
> >> +#define node_distance(from,to) (1)
> >> +#endif
> > 
> > 1 or 0 here?
> 
> Dunno ... was from j-nomura@ce.jp.nec.com, but I'd guess 1 makes more
> sense semantically - we're saying the distance between nodes on a flat
> NUMA architecture is equal (I think ;-))

Umm. Even on a flat NUMA architecture, I should have distinguish between
local and remote. It's NUMA.

#define node_distance(from,to) (from != to)

Best regards.
--
NOMURA, Jun'ichi <j-nomura@ce.jp.nec.com>
-
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 Fri Feb 27 00:38:32 2004

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