Function report |
Source Code:include\linux\compaction.h |
Create Date:2022-07-28 09:06:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:compaction_suitable
Proto:static inline enum compact_result compaction_suitable(struct zone *zone, int order, int alloc_flags, int classzone_idx)
Type:enum compact_result
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | zone | |
| int | order | |
| int | alloc_flags | |
| int | classzone_idx |
| 195 | Return COMPACT_SKIPPED |
| Name | Describe |
|---|---|
| should_continue_reclaim | Reclaim/compaction is used for high-order allocation requests. It reclaims* order-0 pages before compacting the zone. should_continue_reclaim() returns* true if more pages should be reclaimed such that when the page allocator |
| compaction_ready | Returns true if compaction should go ahead for a costly-order request, or* the allocation would already succeed without compaction. Return false if we* should reclaim first. |
| 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 |