Re: [patch 1/3] NUMA: introduce node_memory_map

Christoph Lameter
2007-06-12T22:26:25Z

On Tue, 12 Jun 2007, Nishanth Aravamudan wrote:

> is not intuitive at all. And we've already admitted that a few of the
> macros in there are inconsistent already :)

I do not want to add another inconsistency.

if (node_memory(node))

is pretty clear as far as I can tell.

Some of the macros in include/linux/nodemask.h are inconsistent. How can
we make those consistent. Could you come up with a consistent naming
scheme? Add the explanation for that scheme.

But that should be a separate patch. And the patch would have to change
all uses of those macros in the kernel source tree.