函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\rmap.c Create Date:2022-07-27 16:26:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:page_remove_anon_compound_rmap

函数原型:static void page_remove_anon_compound_rmap(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
1280  如果非atomic_add_negative( - 1, compound_mapcount_ptr(page))则返回
1284  如果此条件成立可能性小(为编译器优化)(PageHuge(page))则返回
1287  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_TRANSPARENT_HUGEPAGE)则返回
1290  __dec_node_page_state(page, NR_ANON_THPS)
1292  如果TestClearPageDoubleMap(page)则
1297 i小于HPAGE_PMD_NR循环
1307  如果nrnr小于HPAGE_PMD_NRdeferred_split_huge_page(page)
1309  否则
1310  nr等于HPAGE_PMD_NR
1313  如果此条件成立可能性小(为编译器优化)(PageMlocked(page))则LRU accounting for clear_page_mlock()
1316  如果nr__mod_node_page_state(page_pgdat(page), Mapped anonymous pages , - nr)
调用者
名称描述
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.