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

j-nomura
2004-02-27T05:38:14Z

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>