Function report |
Source Code:mm\ksm.c |
Create Date:2022-07-28 15:40:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Removing rmap_item from stable or unstable tree.* This function will clean the information from the stable/unstable tree.
Proto:static void remove_rmap_item_from_tree(struct rmap_item *rmap_item)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rmap_item * | rmap_item |
| 775 | If + low bits used for flags below & s listed from the stable tree Then |
| 788 | If Not hlist_empty( & hlist) Then The number of page slots additionally sharing those nodes -- |
| 790 | Else The number of nodes in the stable tree -- |
| 792 | VM_BUG_ON(rmap_hlist_len <= 0) |
| 793 | rmap_hlist_len-- |
| 795 | put_anon_vma( when stable ) |
| 798 | Else if + low bits used for flags below & s a node of the unstable tree Then |
| 807 | age = seqnr - + low bits used for flags below |
| 809 | If Not age Then rb_erase( & when node of unstable tree , root_unstable_tree + NUMA( when node of unstable tree )) |
| 815 | out : |
| 816 | cond_resched() |
| Name | Describe |
|---|---|
| remove_trailing_rmap_items | |
| try_to_merge_with_ksm_page | ry_to_merge_with_ksm_page - like try_to_merge_two_pages,* but no new kernel page is allocated: kpage must already be a ksm page.* This function returns 0 if the pages were merged, -EFAULT otherwise. |
| cmp_and_merge_page | mp_and_merge_page - first see if page can be merged into the stable tree;* if not, compare checksum to previous and if it's the same, see if page can* be inserted into the unstable tree, or merged with a page already there and |
| get_next_rmap_item |
| 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 |