[OS-BUILD PATCH] redhat: configs: increase CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Rafael Aquini <aquini@xxxxxxxxxx>

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@xxxxxxxxxx>

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
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux