mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-21 19:12:42 +02:00
kern: reduce KMemoryRegionAllocator slab size
This commit is contained in:
parent
b5eb0bb978
commit
31603c2a5a
@ -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 New Issue
Block a user