Skip to content
Snippets Groups Projects

redhat: configs: increase CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE

Merged Rafael Aquini requested to merge raquini/kernel-ark:increase-kmemleak-pool-size into os-build
  1. Dec 09, 2021
    • Rafael Aquini's avatar
      redhat: configs: increase CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE · e76c0e3f
      Rafael Aquini authored
      
      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: default avatarRafael Aquini <aquini@redhat.com>
      e76c0e3f
Loading