Function report |
Source Code:mm\ksm.c |
Create Date:2022-07-28 15:40:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static int try_to_merge_with_ksm_page(struct rmap_item *rmap_item, struct page *page, struct page *kpage)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct rmap_item * | rmap_item | |
struct page * | page | |
struct page * | kpage |
1283 | lock for reading |
1298 | out : |
1299 | lease a read lock |
1300 | Return err |
Name | Describe |
---|---|
try_to_merge_two_pages | ry_to_merge_two_pages - take two identical pages and prepare them* to be merged into one page |
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 |
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 |