mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-23 04:41:12 +00:00
kern: reduce KMemoryRegionAllocator slab size
This commit is contained in:
parent
8936e4d5d9
commit
6cc21e4d98
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ namespace ams::kern {
|
||||||
NON_COPYABLE(KMemoryRegionAllocator);
|
NON_COPYABLE(KMemoryRegionAllocator);
|
||||||
NON_MOVEABLE(KMemoryRegionAllocator);
|
NON_MOVEABLE(KMemoryRegionAllocator);
|
||||||
public:
|
public:
|
||||||
static constexpr size_t MaxMemoryRegions = 1000;
|
static constexpr size_t MaxMemoryRegions = 200;
|
||||||
private:
|
private:
|
||||||
KMemoryRegion region_heap[MaxMemoryRegions];
|
KMemoryRegion region_heap[MaxMemoryRegions];
|
||||||
size_t num_regions;
|
size_t num_regions;
|
||||||
|
|
Loading…
Reference in a new issue