summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/Heap/SlabAllocator.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Kernel/Heap/SlabAllocator.cpp b/Kernel/Heap/SlabAllocator.cpp
index 23f735ec02..6b886db4fc 100644
--- a/Kernel/Heap/SlabAllocator.cpp
+++ b/Kernel/Heap/SlabAllocator.cpp
@@ -79,9 +79,10 @@ void for_each_allocator(Callback callback)
void slab_alloc_init()
{
- for_each_allocator([&](auto& allocator) {
- allocator.init(128 * KB);
- });
+ s_slab_allocator_8.init(384 * KB);
+ s_slab_allocator_16.init(128 * KB);
+ s_slab_allocator_32.init(128 * KB);
+ s_slab_allocator_48.init(128 * KB);
}
void* slab_alloc(size_t slab_size)