函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mlock.c Create Date:2022-07-27 16:12:54
Last Modify:2022-05-23 14:12:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:LRU accounting for clear_page_mlock()

函数原型:void clear_page_mlock(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
61  如果非TestClearPageMlocked(page)则返回
64  mod_zone_page_state(page_zone(page), mlock()ed pages found and moved off LRU , - hpage_nr_pages(page))
66  Disable counters
73  如果非solate_lru_page - tries to isolate a page from its LRU list*@page: page to isolate from its LRU list* Isolates a @page from an LRU list, clears PageLRU and adjusts the* vmstat statistic corresponding to whatever LRU list the page was on.
74  putback_lru_page - put previously isolated page onto appropriate LRU list*@page: page to be put back to appropriate lru list* Add previously isolated @page to appropriate LRU list.* Page may still be unevictable for other reasons.
75  否则
79  如果PageUnevictable(page)则Disable counters
调用者
名称描述
page_add_file_rmappage_add_file_rmap - add pte mapping to a file page*@page: the page to add the mapping to*@compound: charge the page as compound or small page* The caller needs to hold the pte lock.
page_remove_file_rmap
page_remove_anon_compound_rmap
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.
remove_migration_pteRestore a potential migration pte to a working pte entry
__split_huge_pmd