X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/095a899a9749b85443e546b1062026747445658c..c166bd62fbb907f95f79f621e2a2fb4fdde08e01:/lunaix-os/config.h?ds=sidebyside diff --git a/lunaix-os/config.h b/lunaix-os/config.h new file mode 100644 index 0000000..1d5386d --- /dev/null +++ b/lunaix-os/config.h @@ -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 */