Description of problem: #dmesg|grep kmem [ 0.000000] kmemleak: Memory pool empty, consider increasing CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE [ 0.000000] kmemleak: Cannot allocate a kmemleak_object structure [ 0.000000] kmemleak: Kernel memory leak detector disabled Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.开启kmemleak相关配置 2.属于大内存物理环境(例如800G物理内存) 3.kernel启动过程,kmemleak内存不足后自动disabled Actual results: Expected results: Additional info:
backport commit c6975d7cab5b903aadbc0f78f9af4fae1bd23a50 upstream.