Add custom "grain" for block allocator. Set the big block allocs to grain 256.

This commit is contained in:
Henrik Rydgard committed 2012-11-07 17:35:22 +01:00
1 parent 7385113948
commit a6a6453c60
3 files changed
+50 -30

No files matched your search

+2 -2
View File
@@ -27,8 +27,8 @@
//////////////////////////////////////////////////////////////////////////
// STATE BEGIN
BlockAllocator userMemory;
BlockAllocator kernelMemory;
BlockAllocator userMemory(256);
BlockAllocator kernelMemory(256);
// STATE END
//////////////////////////////////////////////////////////////////////////