public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] increse MAX_NR_MEMBLKS to same as MAX_NUMNODES on NUMA
@ 2004-01-19 13:05 Jes Sorensen
  2004-01-19 20:08 ` Martin J. Bligh
  0 siblings, 1 reply; 11+ messages in thread
From: Jes Sorensen @ 2004-01-19 13:05 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, jbarnes, steiner, torvalds

Hi,

Since we now support # of CPUs > BITS_PER_LONG with cpumask_t it would
be nice to be able to support more than BITS_PER_LONG memory blocks.

Patch relative to 2.6.1-mm4.

Cheers,
Jes

--- orig/linux-2.6.1-mm4/include/linux/mmzone.h	Fri Jan 16 01:59:20 2004
+++ linux-2.6.1-mm4/include/linux/mmzone.h	Mon Jan 19 04:44:37 2004
@@ -296,7 +296,7 @@
 					  void *, size_t *);
 
 #ifdef CONFIG_NUMA
-#define MAX_NR_MEMBLKS	BITS_PER_LONG /* Max number of Memory Blocks */
+#define MAX_NR_MEMBLKS	MAX_NUMNODES /* Max number of Memory Blocks */
 #else /* !CONFIG_NUMA */
 #define MAX_NR_MEMBLKS	1
 #endif /* CONFIG_NUMA */



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-01-23  6:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-19 13:05 [patch] increse MAX_NR_MEMBLKS to same as MAX_NUMNODES on NUMA Jes Sorensen
2004-01-19 20:08 ` Martin J. Bligh
2004-01-19 22:45   ` Jack Steiner
2004-01-20  2:24     ` Jesse Barnes
2004-01-20  3:12       ` Jack Steiner
2004-01-20  6:25         ` Martin J. Bligh
2004-01-20 10:59           ` Jes Sorensen
2004-01-20 16:11             ` Martin J. Bligh
2004-01-22 15:24               ` Jes Sorensen
2004-01-23  6:09                 ` Martin J. Bligh
2004-01-20  5:21       ` Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox