浏览代码

Kernel: Bump eternal kmalloc range to 4 MiB

Kernels built with Clang seem to be quite allocation-heavy compared to
their GCC counterparts. We would sometimes end up crashing during boot
because the eternal ranges had no free capacity.
Daniel Bertalan 4 年之前
父节点
当前提交
5d617be462
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Kernel/Heap/kmalloc.cpp

+ 1 - 1
Kernel/Heap/kmalloc.cpp

@@ -25,7 +25,7 @@
 
 #define CHUNK_SIZE 32
 #define POOL_SIZE (2 * MiB)
-#define ETERNAL_RANGE_SIZE (3 * MiB)
+#define ETERNAL_RANGE_SIZE (4 * MiB)
 
 namespace std {
 const nothrow_t nothrow;