Unifying the Lunaix's Physical Memory Model (#28)
[lunaix-os.git] / lunaix-os / config.h
diff --git a/lunaix-os/config.h b/lunaix-os/config.h
new file mode 100644 (file)
index 0000000..1d5386d
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef __LUNAIX_CONFIG_H
+#define __LUNAIX_CONFIG_H
+
+// #define CONFIG_PMALLOC_BUDDY
+// #define CONFIG_PMALLOC_NCONTIG
+#define CONFIG_PMALLOC_SIMPLE
+
+#define CONFIG_PMALLOC_SIMPLE_PO0_THRES     4096
+#define CONFIG_PMALLOC_SIMPLE_PO1_THRES     2048
+#define CONFIG_PMALLOC_SIMPLE_PO2_THRES     2048
+#define CONFIG_PMALLOC_SIMPLE_PO3_THRES     2048
+#define CONFIG_PMALLOC_SIMPLE_PO4_THRES     512
+#define CONFIG_PMALLOC_SIMPLE_PO5_THRES     512
+#define CONFIG_PMALLOC_SIMPLE_PO6_THRES     128
+#define CONFIG_PMALLOC_SIMPLE_PO7_THRES     128
+#define CONFIG_PMALLOC_SIMPLE_PO8_THRES     64
+#define CONFIG_PMALLOC_SIMPLE_PO9_THRES     16
+
+#endif /* __LUNAIX_CONFIG_H */