函数逻辑报告 |
Source Code:mm\page_isolation.c |
Create Date:2022-07-27 17:59:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:unset_migratetype_isolate
函数原型:static void unset_migratetype_isolate(struct page *page, unsigned migratetype)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
unsigned | migratetype |
94 | bool isolated_page = false |
100 | spin_lock_irqsave( & 自旋锁, flags) |
101 | 如果非is_migrate_isolate_page(page)则转到:out |
113 | order等于page_order(page) |
114 | 如果order大于等于Huge pages are a constant size 则 |
132 | 如果非isolated_page则 |
133 | nr_pages等于move_freepages_block(zone, page, migratetype, NULL) |
138 | out : |
139 | spin_unlock_irqrestore( & 自旋锁, flags) |
140 | 如果isolated_page则 |
141 | post_alloc_hook(page, order, ZONE_MOVABLE allowed ) |
142 | __free_pages(page, order) |
名称 | 描述 |
---|---|
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. |
undo_isolate_page_range | Make isolated pages available again. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |