Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\khugepaged.h Create Date:2022-07-28 08:56:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:khugepaged_enter

Proto:static inline int khugepaged_enter(struct vm_area_struct *vma, unsigned long vm_flags)

Type:int

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longvm_flags
57  If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then If (khugepaged_always() || khugepaged_req_madv() && vm_flags & MADV_HUGEPAGE marked this vma ) && Not (vm_flags & MADV_NOHUGEPAGE marked this vma ) && Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then
62  If __khugepaged_enter(The address space we belong to. ) Then Return -ENOMEM
64  Return 0
Caller
NameDescribe
shmem_zero_setupshmem_zero_setup - setup a shared anonymous mapping*@vma: the vma to be mmapped is prepared by do_mmap_pgoff
do_huge_pmd_anonymous_page
khugepaged_enter_vma_merge