lkml.org 
[lkml]   [2003]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] - Allow architectures to increase size of MAX_NR_MEMBLKS
On Wed, Nov 05, 2003 at 12:19:11PM -0600, Jack Steiner wrote:
> This fixes a problem that occurs on system with >64 nodes.
>
> Previously, MAX_NR_MEMBLKS was defined as BITS_PER_LONG. This
> patch allows an architecture to override this definition by
> defining a value in the arch-specific asm-xxx/mmzone.h file.

IMHO this is too much clutter. Just make it mandatory for the
architectures to define their own MAX_NR_MEMBLKS in the numa case.

Or actually even better just have a

#ifndef MAX_NR_MEMBLKS
#define MAX_NR_MEMBLKS 1
#endif

in the generic code and let every architecture that wants to override
it do so.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2011 Jasper Spaans