kern: reduce KMemoryRegionAllocator slab size

This commit is contained in:
Michael Scire 2020-12-01 17:31:21 -08:00
parent b5eb0bb978
commit 31603c2a5a

View File

@ -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;