make hugepage as default for uGNI
authorYanhua Sun <sun51@hopper12.(none)>
Thu, 24 Oct 2013 01:49:36 +0000 (18:49 -0700)
committerYanhua Sun <sun51@hopper12.(none)>
Thu, 24 Oct 2013 01:49:36 +0000 (18:49 -0700)
src/arch/gni/conv-mach-hugepages.h [deleted file]
src/arch/gni/conv-mach-regularpage.h [new file with mode: 0644]
src/arch/gni/conv-mach.sh [moved from src/arch/gni/conv-mach-hugepages.sh with 100% similarity]
src/arch/gni/machine.c

diff --git a/src/arch/gni/conv-mach-hugepages.h b/src/arch/gni/conv-mach-hugepages.h
deleted file mode 100644 (file)
index a71bdf7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#define LARGEPAGE 1
diff --git a/src/arch/gni/conv-mach-regularpage.h b/src/arch/gni/conv-mach-regularpage.h
new file mode 100644 (file)
index 0000000..3c2f9c0
--- /dev/null
@@ -0,0 +1 @@
+#define REGULARPAGE 1
index b20956874bf9851134583e5ad456ddc4119d2367..145b80bfc604deb1666e9cf4fbff5d63b5015633 100644 (file)
 #include "cmidirect.h"
 #endif
 
-#if !defined(LARGEPAGE)
+#if REGULARPAGE 
 #define     LARGEPAGE              0
+#else
+#define     LARGEPAGE              1
 #endif
 
 #if CMK_SMP