Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Accounting for page isolation fail during munlock* Performs accounting when page isolation fails in munlock. There is nothing* else to do because it means some other task has already removed the page* from the LRU

Proto:static void __munlock_isolation_failed(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
158  If PageUnevictable(page) Then __count_vm_event( unable to isolate on unlock )
160  Else __count_vm_event(UNEVICTABLE_PGMUNLOCKED)
Caller
NameDescribe
munlock_vma_pagemunlock_vma_page - munlock a vma page*@page: page to be unlocked, either a normal page or THP page head* returns the size of the page as a page mask (0 for normal page,* HPAGE_PMD_NR - 1 for THP head page)
__munlock_pagevecMunlock a batch of pages from the same zone* The work is split to two main phases