函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\main.c Create Date:2022-07-27 15:15:40
Last Modify:2022-05-23 13:07:03 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Report memory auto-initialization states for this boot.

函数原型:static void __init report_meminit(void)

返回类型:void

参数:

528  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_INIT_STACK_ALL)则stack等于"all"
530  否则如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL)则stack等于"byref_all"
532  否则如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF)则stack等于"byref"
534  否则如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_GCC_PLUGIN_STRUCTLEAK_USER)则stack等于"__user"
536  否则stack等于"off"
539  打印信息("mem auto-init: stack:%s, heap alloc:%s, heap free:%s\n", stack, want_init_on_alloc(GFP_KERNEL) ? "on" : "off", want_init_on_free() ? "on" : "off")
542  如果want_init_on_free()则打印信息("mem auto-init: clearing system memory may take some time...\n")
调用者
名称描述
mm_init设置内核内存分配器