Function report |
Source Code:include\linux\sched\mm.h |
Create Date:2022-07-28 05:40:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Applies per-task gfp context to the given allocation flags.* PF_MEMALLOC_NOIO implies GFP_NOIO* PF_MEMALLOC_NOFS implies GFP_NOFS* PF_MEMALLOC_NOCMA implies no allocation from CMA region.
Proto:static inline gfp_t current_gfp_context(gfp_t flags)
Type:gfp_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| gfp_t | flags |
| 190 | Else if flags & PF_MEMALLOC_NOFS Then flags &= ~__GFP_FS |
| 193 | If flags & PF_MEMALLOC_NOCMA Then flags &= ~ZONE_MOVABLE allowed |
| 197 | Return flags |
| Name | Describe |
|---|---|
| try_to_free_pages | |
| try_to_free_mem_cgroup_pages | |
| __node_reclaim | Try to free up some pages from this node through reclaim. |
| __alloc_pages_nodemask | This is the 'heart' of the zoned buddy allocator. |
| 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 |