Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mlock.c Create Date:2022-07-28 14:45:19
Last Modify:2022-05-23 14:12:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:LRU accounting for clear_page_mlock()

Proto:void clear_page_mlock(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
61  If Not TestClearPageMlocked(page) Then Return
64  mod_zone_page_state(page_zone(page), mlock()ed pages found and moved off LRU , - hpage_nr_pages(page))
66  Disable counters
73  If Not 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. Then
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  Else
79  If PageUnevictable(page) Then Disable counters
Caller
NameDescribe
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