Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:04:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static bool can_steal_fallback(unsigned int order, int start_mt)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | order | |
int | start_mt |
2335 | If order >= Huge pages are a constant size Then Return true |
2338 | If order >= Huge pages are a constant size / 2 || start_mt == MIGRATE_RECLAIMABLE || start_mt == MIGRATE_UNMOVABLE || page_group_by_mobility_disabled Then Return true |
2344 | Return false |
Name | Describe |
---|---|
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 |
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 |