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.
This commit is contained in:
Daniel Bertalan 2021-07-16 20:59:42 +02:00 committed by Andreas Kling
parent 6de392e120
commit 5d617be462
Notes: sideshowbarker 2024-07-18 07:16:15 +09:00

View file

@ -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;