Bug 835 - kernel启动过程kmemleak内存不足异常
Summary: kernel启动过程kmemleak内存不足异常
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: mm (show other bugs) mm
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: kun(llfl)
QA Contact: shuming
URL:
Whiteboard:
Keywords: Bugfix
Depends on:
Blocks:
 
Reported: 2022-04-13 15:59 UTC by fghui_kernel
Modified: 2022-04-15 14:43 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fghui_kernel 2022-04-13 15:59:29 UTC
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:
Comment 1 fghui_kernel 2022-04-13 18:11:18 UTC
backport commit c6975d7cab5b903aadbc0f78f9af4fae1bd23a50 upstream.