函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\khugepaged.c Create Date:2022-07-27 17:38:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:khugepaged_init

函数原型:int __init khugepaged_init(void)

返回类型:int

参数:

354  mm_slot_cache等于创建高速缓存区
357  如果非mm_slot_cache则返回:负ENOMEM
360  default scan 8*512 pte (or vmas) every 30 second 等于HPAGE_PMD_NR乘8
361  default collapse hugepages if there is at least one pte mapped like* it would have happened if the vma was large enough during page* fault.等于HPAGE_PMD_NR减1
362  khugepaged_max_ptes_swap等于HPAGE_PMD_NR除8
364  返回:0
调用者
名称描述
hugepage_init