Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:page_dup_rmap

Proto:static inline void page_dup_rmap(struct page *page, bool compound)

Type:void

Parameter:

TypeParameterName
struct page *page
boolcompound
189  atomic_inc(compound ? compound_mapcount_ptr(page) : & * If the page can be mapped to userspace, encodes the number * of times this page is referenced by a page table.)
Caller
NameDescribe
copy_one_ptepy one vm_area from one task to the other. Assumes the page tables* already present in the new task to be cleared in the whole range* covered by this vma.
copy_hugetlb_page_range
hugetlb_no_page
hugetlb_mcopy_atomic_pteUsed by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages.
remove_migration_pteRestore a potential migration pte to a working pte entry
copy_huge_pmd