Skip to content

redhat: configs: increase CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE

Rafael Aquini requested to merge raquini/centos-stream-9:bz2008118 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2008118 Upstream Status: RHEL only

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@redhat.com

Merge request reports