Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\trace\events\huge_memory.h Create Date:2022-07-28 16:04:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_mm_collapse_huge_page_swapin

Proto:static inline void trace_mm_collapse_huge_page_swapin(struct mm_struct *mm, int swapped_in, int referenced, int ret)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
intswapped_in
intreferenced
intret

NULL

Caller
NameDescribe
__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.