Function report | 
Source Code:mm\page_alloc.c | 
Create Date:2022-07-28 15:05:46 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Distinguish requests which really need access to full memory* reserves from oom victims which can live with a portion of it
Proto:static inline int __gfp_pfmemalloc_flags(gfp_t gfp_mask)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| gfp_t | gfp_mask | 
| 4234 | If Value for the false possibility is greater at compile time(gfp_mask & __GFP_NOMEMALLOC) Then Return 0 | 
| 4236 | If gfp_mask & __GFP_MEMALLOC Then Return don't check watermarks at all | 
| 4238 | If in_serving_softirq() && flags & Allocating memory Then Return don't check watermarks at all | 
| 4240 | If Not in_interrupt() Then | 
| 4241 | If flags & Allocating memory Then Return don't check watermarks at all | 
| 4247 | Return 0 | 
| Name | Describe | 
|---|---|
| gfp_pfmemalloc_allowed | |
| __alloc_pages_slowpath | 
| 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  |