From: Rafael Aquini <aquini(a)redhat.com>
redhat: configs: increase CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE
Some really large instances do require a slightly increased pool size
so kmemleak can track early system allocations before kmemleak_object
entries can be allocated out of the system's slab caches. If there is
not enough entries in the pre-allocated static pool, the facility is
disabled at boot time and no futher tracking is done by kmemleak at
system's runtime (see RHBZ#2008118).
This patch doubles the size of kmemleak's memory pool size which for
now will allow enough room for proper kmemleak initialization for the
large systems described at RHBZ#2008118. Kernel memory footprint for
the kmemleak pool will increase from its current 7.17 mB to 14.34 mb.
Signed-off-by: Rafael Aquini <aquini(a)redhat.com>
diff --git a/redhat/configs/ark/debug/CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE
b/redhat/configs/ark/debug/CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE
index blahblah..blahblah 100644
--- a/redhat/configs/ark/debug/CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE
+++ b/redhat/configs/ark/debug/CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE
@@ -1 +1 @@
-CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE=20000
+CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE=40000
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1516