Function report | 
Source Code:mm\page_alloc.c | 
Create Date:2022-07-28 15:05:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__alloc_pages_may_oom
Proto:static inline struct page *__alloc_pages_may_oom(gfp_t gfp_mask, unsigned int order, const struct alloc_context *ac, unsigned long *did_some_progress)
Type:struct page
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| gfp_t | gfp_mask | |
| unsigned int | order | |
| const struct alloc_context * | ac | |
| unsigned long * | did_some_progress | 
| 3792 | did_some_progress = 0 | 
| 3818 | If flags & Dumped core Then Go to out | 
| 3829 | If gfp_mask & __GFP_RETRY_MAYFAIL Then Go to out | 
| 3834 | If pm_suspended_storage() Then Go to out | 
| 3847 | If gfp_mask & __GFP_THISNODE Then Go to out | 
| 3852 | did_some_progress = 1 | 
| 3858 | If gfp_mask & __GFP_NOFAIL Then page = __alloc_pages_cpuset_fallback(gfp_mask, order, don't check watermarks at all , ac) | 
| 3862 | out : | 
| 3864 | Return page | 
| Name | Describe | 
|---|---|
| __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  |