From d26fe308ab760f7bd6793013861c21278797db60 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 17 Nov 2016 21:45:34 -0700 Subject: [PATCH] Increase heap size --- arch/x86_64/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86_64/src/lib.rs b/arch/x86_64/src/lib.rs index 032826c..e5dbd9d 100644 --- a/arch/x86_64/src/lib.rs +++ b/arch/x86_64/src/lib.rs @@ -37,7 +37,7 @@ pub extern crate x86; /// Offset to kernel heap pub const KERNEL_HEAP_OFFSET: usize = KERNEL_OFFSET + PML4_SIZE/2; /// Size of kernel heap - pub const KERNEL_HEAP_SIZE: usize = 64 * 1024 * 1024; // 64 MB + pub const KERNEL_HEAP_SIZE: usize = 256 * 1024 * 1024; // 256 MB /// Offset to kernel percpu variables //TODO: Use 64-bit fs offset to enable this pub const KERNEL_PERCPU_OFFSET: usize = KERNEL_HEAP_OFFSET - PML4_SIZE;