Function report |
Source Code:mm\mlock.c |
Create Date:2022-07-28 14:45:24 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:munlock_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)
Proto:unsigned int munlock_vma_page(struct page *page)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
185 | pgdat = page_pgdat(page) |
188 | BUG_ON(!PageLocked(page)) |
190 | VM_BUG_ON_PAGE(PageTail(page), page) |
199 | If Not TestClearPageMlocked(page) Then |
201 | nr_pages = 1 |
202 | Go to unlock_out |
205 | nr_pages = hpage_nr_pages(page) |
211 | Go to out |
215 | unlock_out : |
218 | out : |
219 | Return nr_pages - 1 |
Name | Describe |
---|---|
munlock_vma_pages_range | munlock_vma_pages_range() - munlock all pages in the vma range.'*@vma - vma containing range to be munlock()ed.*@start - start address in @vma of the range*@end - end of range in @vma.* For mremap(), munmap() and exit().* Called with @vma VM_LOCKED. |
try_to_merge_one_page | ry_to_merge_one_page - take two pages and merge them into one*@vma: the vma that holds the pte pointing to page*@page: the PageAnon page that we want to replace with kpage*@kpage: the PageKsm page that we want to map instead of page, |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |