Bug fixed: the multi pool scheme is only used if CMK_SMP is on.
authorEsteban Meneses <emenese2@illinois.edu>
Wed, 9 Jul 2008 16:52:06 +0000 (16:52 +0000)
committerEsteban Meneses <emenese2@illinois.edu>
Wed, 9 Jul 2008 16:52:06 +0000 (16:52 +0000)
src/arch/net/machine-ibverbs.c

index f0c40be173608912b5298988265ba141639a4a6a..f1c2b2ef18ddf2ad7b5c30ccfa3c49362ba19817 100644 (file)
@@ -78,8 +78,10 @@ static int processBufferedCount;
 #define INCTOKENS_FRACTION 0.04
 #define INCTOKENS_INCREASE .50
 
-// flag for using a pool for every thread
-#define THREAD_MULTI_POOL 0
+// flag for using a pool for every thread in SMP mode
+#if CMK_SMP
+#define THREAD_MULTI_POOL 1
+#endif
 
 #if THREAD_MULTI_POOL 
 #include "pcqueue.h"