Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:02:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:early_init_on_free

Proto:static int __init early_init_on_free(char *buf)

Type:int

Parameter:

TypeParameterName
char *buf
175  If Not buf Then Return -EINVAL
177  ret = kstrtobool - convert common user inputs into boolean values*@s: input string*@res: result* This routine returns 0 iff the first character is one of 'Yy1Nn0', or* [oO][NnFf] for "on" and "off". Otherwise it will return -EINVAL. Value
178  If bool_result && page_poisoning_enabled() Then pr_info("mem auto-init: CONFIG_PAGE_POISONING is on, will take precedence over init_on_free\n")
180  If bool_result Then Normal usage; boolean enable/disable.( & init_on_free)
182  Else static_branch_disable( & init_on_free)
184  Return ret