From 31603c2a5a648995078273f02e3a75e002b3247f 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 --- libmesosphere/source/kern_k_memory_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmesosphere/source/kern_k_memory_layout.cpp b/libmesosphere/source/kern_k_memory_layout.cpp index 60127e28..f2ccd9dc 100644 --- a/libmesosphere/source/kern_k_memory_layout.cpp +++ b/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;