From 63974d9bce6aa234c361619458cf8b8bd9601a83 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;