函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_mm_collapse_huge_page_swapin

函数原型:static inline void trace_mm_collapse_huge_page_swapin(struct mm_struct *mm, int swapped_in, int referenced, int ret)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
intswapped_in
intreferenced
intret

NULL

调用者
名称描述
__collapse_huge_page_swapinBring missing pages in from swap, to complete THP collapse.* Only done if khugepaged_scan_pmd believes it is worthwhile.* Called and returns without pte mapped or spinlocks held,* but with mmap_sem held to protect against vma changes.