Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:PageDoubleMap indicates that the compound page is mapped with PTEs as well* as PMDs.* This is required for optimization of rmap operations for THP: we can postpone* per small page mapcount accounting (and its overhead from atomic operations)

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

Type:int

Parameter:

TypeParameterName
struct page *page
674  Return PageHead(page) && st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from
Caller
NameDescribe
__page_mapcountSlow path of page_mapcount() for compound pages
mlock_vma_pageMark page as mlocked if not already.* If page on LRU, isolate and putback to move to unevictable list.
try_to_munlockry_to_munlock - try to munlock a page*@page: the page to be munlocked* Called from munlock code. Checks all of the VMAs mapping the page* to make sure nobody else has this page mlocked. The page will be
page_trans_huge_map_swapcount
follow_trans_huge_pmd
total_mapcount
page_trans_huge_mapcountThis calculates accurately how many mappings a transparent hugepage* has (unlike page_mapcount() which isn't fully accurate)