Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\main.c Create Date:2022-07-28 13:53:27
Last Modify:2022-05-23 13:07:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Report memory auto-initialization states for this boot.

Proto:static void __init report_meminit(void)

Type:void

Parameter:Nothing

528  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_INIT_STACK_ALL) Then stack = "all"
530  Else if IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL) Then stack = "byref_all"
532  Else if IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF) Then stack = "byref"
534  Else if IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_GCC_PLUGIN_STRUCTLEAK_USER) Then stack = "__user"
536  Else stack = "off"
539  pr_info("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  If want_init_on_free() Then pr_info("mem auto-init: clearing system memory may take some time...\n")
Caller
NameDescribe
mm_initSet up kernel memory allocators