reduce static kernel memory

This commit is contained in:
Quinten Kock 2020-12-26 23:24:12 +01:00
parent c7b7137292
commit ab2ef5a415
1 changed files with 1 additions and 1 deletions

View File

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