Function report |
Source Code:mm\ksm.c |
Create Date:2022-07-28 15:42:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ksm_migrate_page
Proto:void ksm_migrate_page(struct page *newpage, struct page *oldpage)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | newpage | |
struct page * | oldpage |
2685 | VM_BUG_ON_PAGE(!PageLocked(oldpage), oldpage) |
2686 | VM_BUG_ON_PAGE(!PageLocked(newpage), newpage) |
2687 | VM_BUG_ON_PAGE( See page-flags.h for PAGE_MAPPING_FLAGS != See page-flags.h for PAGE_MAPPING_FLAGS , newpage) |
2689 | stable_node = page_stable_node(newpage) |
2690 | If stable_node Then |
2691 | VM_BUG_ON_PAGE(kpfn != page_to_pfn(oldpage), oldpage) |
2692 | kpfn = page_to_pfn(newpage) |
2699 | smp_wmb() |
2700 | set_page_stable_node(oldpage, NULL) |
Name | Describe |
---|---|
migrate_page_states | Copy the page to its new location |
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 |