Function report |
Source Code:mm\rmap.c |
Create Date:2022-07-28 14:56:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Getting a lock on a stable anon_vma from a page off the LRU is tricky!* Since there is no serialization what so ever against page_remove_rmap()* the best this function can do is return a locked anon_vma that might* have been relevant to this page
Proto:struct anon_vma *page_get_anon_vma(struct page *page)
Type:struct anon_vma
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page |
| 494 | If Not Return true if this page is mapped into pagetables.* For compound page it returns true if any subpage of compound page is mapped. Then Go to out |
| 512 | put_anon_vma(anon_vma) |
| 513 | Return NULL |
| 515 | out : |
| 518 | Return anon_vma |
| Name | Describe |
|---|---|
| __unmap_and_move | |
| unmap_and_move_huge_page | Counterpart of unmap_and_move_page() for hugepage migration |
| split_huge_page_to_list | This function splits huge page into normal pages. @page can point to any* subpage of huge page to split. Split doesn't change the position of @page.* Only caller must hold pin on the @page, otherwise split fails with -EBUSY.* The huge page must be locked. |
| 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 |