From 0a4a0d3f03b7696efe07f900aa746bfa50b9cbb5 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 3 Aug 2020 08:11:28 -0700 Subject: [PATCH] kern: N reduced the slabheap gap size in 10.0.0 --- libmesosphere/source/init/kern_init_slab_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmesosphere/source/init/kern_init_slab_setup.cpp b/libmesosphere/source/init/kern_init_slab_setup.cpp index 5737afea..5723e19f 100644 --- a/libmesosphere/source/init/kern_init_slab_setup.cpp +++ b/libmesosphere/source/init/kern_init_slab_setup.cpp @@ -72,7 +72,7 @@ namespace ams::kern::init { constexpr size_t SlabCountExtraKThread = 160; /* This is used for gaps between the slab allocators. */ - constexpr size_t SlabRegionReservedSize = 2_MB; + constexpr size_t SlabRegionReservedSize = 2_MB - 64_KB; /* Global to hold our resource counts. */ KSlabResourceCounts g_slab_resource_counts = {