Function report | 
Source Code:mm\migrate.c | 
Create Date:2022-07-28 15:58:53 | 
| Last Modify:2022-05-20 09:53:13 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Default handling if a filesystem does not provide a migration function.
Proto:static int fallback_migrate_page(struct address_space *mapping, struct page *newpage, struct page *page, enum migrate_mode mode)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct address_space * | mapping | |
| struct page * | newpage | |
| struct page * | page | |
| enum migrate_mode | mode | 
| 896 | Case mode == MIGRATE_SYNC | 
| 897 | Case mode == MIGRATE_SYNC_NO_COPY | 
| 898 | Break | 
| 899 | Default | 
| 900 | Return -EBUSY | 
| 902 | Return Writeback a page to clean the dirty state | 
| Name | Describe | 
|---|---|
| move_to_new_page | Move a page to a newly allocated page* The page is locked and all ptes have been successfully removed.* The new page will have replaced the old page if this function* is successful.* Return value:* < 0 - error code* MIGRATEPAGE_SUCCESS - success | 
| 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  |