Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\e820.c Create Date:2022-07-28 07:43:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:The "mem=nopentium" boot option disables 4MB page tables on 32-bit kernels:

Proto:static int __init parse_memopt(char *p)

Type:int

Parameter:

TypeParameterName
char *p
874  If Not p Then Return -EINVAL
877  If Not strcmp(p, "nopentium") Then
879  setup_clear_cpu_cap(Page Size Extensions )
880  Return 0
887  userdef = 1
888  mem_size = memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
891  If mem_size == 0 Then Return -EINVAL
894  Remove a range of memory from the E820 table:
897  max_mem_size = mem_size
900  Return 0