From 6cc21e4d9844553d5fb4a73ab07adb2dedffbfcc Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 1 Dec 2020 17:31:21 -0800 Subject: [PATCH] kern: reduce KMemoryRegionAllocator slab size --- libraries/libmesosphere/source/kern_k_memory_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libmesosphere/source/kern_k_memory_layout.cpp b/libraries/libmesosphere/source/kern_k_memory_layout.cpp index 60127e28e..f2ccd9dc2 100644 --- a/libraries/libmesosphere/source/kern_k_memory_layout.cpp +++ b/libraries/libmesosphere/source/kern_k_memory_layout.cpp @@ -23,7 +23,7 @@ namespace ams::kern { NON_COPYABLE(KMemoryRegionAllocator); NON_MOVEABLE(KMemoryRegionAllocator); public: - static constexpr size_t MaxMemoryRegions = 1000; + static constexpr size_t MaxMemoryRegions = 200; private: KMemoryRegion region_heap[MaxMemoryRegions]; size_t num_regions;