Re: [PATCH] - Increase max number of nodes (cpu_to_node_map)

From: Jack Steiner <steiner_at_sgi.com>
Date: 2003-11-07 04:43:36
On Thu, Nov 06, 2003 at 05:06:04PM +0000, Matthew Wilcox wrote:
> On Wed, Nov 05, 2003 at 01:44:17PM -0600, Jack Steiner wrote:
> > I hit a problem with systems having > 256 nodes. The
> > cpu_to_node_map array is an array of char - needs to be 
> > bigger.
> > 
> > Here is a patch that changes it to a short.
> 
> shouldn't that be an unsigned short so we don't run into problems
> when adding the 32769th processor?


Either signed or unsigned works for me. 

I didnt initially make it unsigned because a number of structures use 
negative values to indicate non-existant cpus or nodes. However, that 
doesnt currently apply in this case.


-- 
Thanks

Jack Steiner (steiner@sgi.com)          651-683-5302
Principal Engineer                      SGI - Silicon Graphics, Inc.


-
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 Thu Nov 6 12:53:41 2003

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