1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-17 17:36:44 +00:00

kern: reduce KMemoryRegionAllocator slab size

This commit is contained in:
Michael Scire 2020-12-01 17:31:21 -08:00 committed by SciresM
parent 2b483866c7
commit 63974d9bce

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;