Function report |
Source Code:mm\page_isolation.c |
Create Date:2022-07-28 16:24:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_migratetype_isolate
Proto:static int set_migratetype_isolate(struct page *page, int migratetype, int isol_flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
int | migratetype | |
int | isol_flags |
35 | If is_migrate_isolate_page(page) Then Go to out |
38 | pfn = page_to_pfn(page) |
56 | If notifier_ret Then Go to out |
71 | out : |
72 | If Not ret Then |
74 | mt = get_pageblock_migratetype(page) |
78 | nr_pages = move_freepages_block(zone, page, MIGRATE_ISOLATE, NULL) |
81 | __mod_zone_freepage_state(zone, - nr_pages, mt) |
87 | Return ret |
Name | Describe |
---|---|
start_isolate_page_range | start_isolate_page_range() - make page-allocation-type of range of pages to* be MIGRATE_ISOLATE.*@start_pfn: The lower PFN of the range to be isolated.*@end_pfn: The upper PFN of the range to be isolated. |
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 |