Function report |
Source Code:mm\mlock.c |
Create Date:2022-07-28 14:45:20 |
| Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Mark page as mlocked if not already.* If page on LRU, isolate and putback to move to unevictable list.
Proto:void mlock_vma_page(struct page *page)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page |
| 91 | BUG_ON(!PageLocked(page)) |
| 93 | VM_BUG_ON_PAGE(PageTail(page), page) |
| 96 | If Not TestSetPageMlocked(page) Then |
| 97 | mod_zone_page_state(page_zone(page), mlock()ed pages found and moved off LRU , hpage_nr_pages(page)) |
| Name | Describe |
|---|---|
| try_to_unmap_one | @arg: enum ttu_flags will be passed to this argument |
| 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, |
| remove_migration_pte | Restore a potential migration pte to a working pte entry |
| follow_trans_huge_pmd | |
| follow_page_pte |
| 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 |