函数逻辑报告 |
Source Code:mm\hugetlb.c |
Create Date:2022-07-27 17:01:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:isolate_huge_page
函数原型:bool isolate_huge_page(struct page *page, struct list_head *list)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct page * | page | |
| struct list_head * | list |
| 5019 | bool ret = true |
| 5021 | VM_BUG_ON_PAGE(!PageHead(page), page) |
| 5022 | 加自旋锁 |
| 5027 | clear_page_huge_active(page) |
| 5028 | 链表项移动到尾部 |
| 5029 | unlock : |
| 5030 | 自旋锁解锁 |
| 5031 | 返回:ret |
| 名称 | 描述 |
|---|---|
| queue_pages_hugetlb | |
| add_page_for_migration | Resolves the given address to a struct page, isolates it from the LRU and* puts it to the given pagelist |
| soft_offline_huge_page | |
| check_and_migrate_cma_pages |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |