Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:page_remove_anon_compound_rmap

Proto:static void page_remove_anon_compound_rmap(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
1280  If Not atomic_add_negative( - 1, compound_mapcount_ptr(page)) Then Return
1284  If Value for the false possibility is greater at compile time(PageHuge(page)) Then Return
1287  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_TRANSPARENT_HUGEPAGE) Then Return
1290  __dec_node_page_state(page, NR_ANON_THPS)
1292  If TestClearPageDoubleMap(page) Then
1297  When i < HPAGE_PMD_NR cycle
1307  If nr && nr < HPAGE_PMD_NR Then deferred_split_huge_page(page)
1309  Else
1310  nr = HPAGE_PMD_NR
1313  If Value for the false possibility is greater at compile time(PageMlocked(page)) Then LRU accounting for clear_page_mlock()
1316  If nr Then __mod_node_page_state(page_pgdat(page), Mapped anonymous pages , - nr)
Caller
NameDescribe
page_remove_rmappage_remove_rmap - take down pte mapping from a page*@page: page to remove mapping from*@compound: uncharge the page as compound or small page* The caller needs to hold the pte lock.