reduce static kernel memory
This commit is contained in:
parent
c7b7137292
commit
ab2ef5a415
|
|
@ -1,5 +1,5 @@
|
|||
const std = @import("std");
|
||||
|
||||
var buf: [1024*1024]u8 = undefined;
|
||||
var buf: [512*1024]u8 = undefined;
|
||||
pub var KAlloc = std.heap.FixedBufferAllocator.init(&buf);
|
||||
// pub var KAlloc = std.heap.GeneralPurposeAllocator(.{.thread_safe=false}){.backing_allocator = &GlobAlloc.allocator};
|
||||
|
|
|
|||
Loading…
Reference in New Issue