Function report | 
Source Code:mm\page_alloc.c | 
Create Date:2022-07-28 15:04:29 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Used when an allocation is about to fail under memory pressure
Proto:static bool unreserve_highatomic_pageblock(const struct alloc_context *ac, bool force)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct alloc_context * | ac | |
| bool | force | 
| 2561 | If Not force && nr_reserved_highatomic <= pageblock_nr_pages Then Continue | 
| 2565 | spin_lock_irqsave( & Primarily protects free_area , flags) | 
| 2570 | If Not page Then Continue | 
| 2580 | If is_migrate_highatomic_page(page) Then | 
| 2603 | ret = move_freepages_block(zone, page, migratetype, NULL) | 
| 2605 | If ret Then | 
| 2607 | Return ret | 
| 2613 | Return false | 
| Name | Describe | 
|---|---|
| __alloc_pages_direct_reclaim | The really slow allocator path where we enter direct reclaim | 
| should_reclaim_retry | Checks whether it makes sense to retry the reclaim to make a forward progress* for the given allocation request.* We give up when we either have tried MAX_RECLAIM_RETRIES in a row* without success, or when we couldn't even meet the watermark if we | 
| 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  |