Re: CPU only nodes (no memory) patch for NUMA/DISCONTIG

From: David Mosberger <>
Date: 2004-02-24 08:16:37
>>>>> On Mon, 23 Feb 2004 14:45:00 -0500, Robert Picco <> said:

  Robert> +	static DECLARE_BITMAP(nodes_with_mem, NR_NODES) __initdata;
  Robert> +	static u8 numa_slit_fix[MAX_NUMNODES * MAX_NUMNODES] __initdata;
  Robert> +	static int node_flip[NR_NODES] __initdata;

Perhaps a comment would be in place as to why these are static?
I assume they're to avoid inordinate stack-space consumption?  Also,
the code won't be re-entrant which may be something worth pointing
out in the comment for the function.

Then there is my usual complaint about trailing white space.

Otherwise, the patch is fine with me (though I don't think the code is
easy to follow; there seem to be some non-obvious inversions in the
meaning of the bitmap bits).

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Mon Feb 23 16:24:02 2004

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