Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
5d617be462
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;