函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:34:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:When we are falling back to another migratetype during allocation, try to* steal extra free pages from the same pageblocks to satisfy further* allocations, instead of polluting multiple pageblocks
函数原型:static bool can_steal_fallback(unsigned int order, int start_mt)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | order | |
int | start_mt |
2335 | 如果order大于等于Huge pages are a constant size 则返回:true |
2338 | 如果order大于等于Huge pages are a constant size 除2或start_mt恒等于MIGRATE_RECLAIMABLE或start_mt恒等于MIGRATE_UNMOVABLE或page_group_by_mobility_disabled则返回:true |
2344 | 返回:false |
名称 | 描述 |
---|---|
find_suitable_fallback | Check whether there is a suitable fallback freepage with requested order.* If only_stealable is true, this function returns fallback_mt only if* we can steal other freepages all together. This would help to reduce |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |