| Function report | 
| Source Code: mm\migrate.c | Create Date:2022-07-28 15:58:07 | 
| Last Modify:2022-05-20 09:53:13 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:isolate_movable_page
Proto:int isolate_movable_page(struct page *page, isolate_mode_t mode)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | page | |
| isolate_mode_t | mode | 
| 106 | If Value for the false possibility is greater at compile time(!__PageMovable(page)) Then Go to out_putpage | 
| 119 | If Value for the false possibility is greater at compile time(!Return true if the page was successfully locked) Then Go to out_putpage | 
| 122 | If Not PageMovable(page) || PageIsolated(page) Then Go to out_no_isolated | 
| 125 | mapping = page_mapping(page) | 
| 126 | VM_BUG_ON_PAGE(!mapping, page) | 
| 128 | If Not isolate_page(page, mode) Then Go to out_no_isolated | 
| 132 | WARN_ON_ONCE(PageIsolated(page)) | 
| 133 | __SetPageIsolated(page) | 
| 136 | Return 0 | 
| 138 | out_no_isolated : | 
| 140 | out_putpage : | 
| 142 | out : | 
| 143 | Return -EBUSY | 
| Name | Describe | 
|---|---|
| __soft_offline_page | |
| isolate_migratepages_block | solate_migratepages_block() - isolate all migrate-able pages within* a single pageblock*@cc: Compaction control structure.*@low_pfn: The first PFN to isolate*@end_pfn: The one-past-the-last PFN to isolate, within same pageblock | 
| 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 |