Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Optimized variant when page is already known not to be PageAnon

Proto:static inline int mm_counter_file(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
1657  If PageSwapBacked(page) Then Return MM_SHMEMPAGES
1659  Return MM_FILEPAGES
Caller
NameDescribe
__replace_page__replace_page - replace page in vma by new page
insert_pageThis is the old fallback for page remapping.* For historical reasons, it only allows reserved pages. Only* old drivers should use this, and they needed to mark their* pages reserved for the old functions anyway.
wp_page_copyHandle the case of a page which we actually need to copy to a new page.* Called with mmap_sem locked and the old page referenced, but* without the ptl held.* High level logic flow:* - Allocate a page, copy the content of the old page to the new one.
alloc_set_ptealloc_set_pte - setup new PTE entry for given page and add reverse page* mapping
try_to_unmap_one@arg: enum ttu_flags will be passed to this argument
zap_huge_pmd
__split_huge_pmd_locked