Function report |
Source Code:mm\huge_memory.c |
Create Date:2022-07-28 16:00:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:always: directly stall for all thp allocations* defer: wake kswapd and fail if not immediately available* defer+madvise: wake kswapd and directly stall for MADV_HUGEPAGE, otherwise* fail if not immediately available* madvise: directly stall for
Proto:static inline gfp_t alloc_hugepage_direct_gfpmask(struct vm_area_struct *vma)
Type:gfp_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma |
666 | vma_madvised = Not Not (Flags, see mm.h. & MADV_HUGEPAGE marked this vma ) |
669 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return GFP_TRANSHUGE | If vma_madvised Then 0 Else __GFP_NORETRY |
673 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return GFP_TRANSHUGE_LIGHT | kswapd can wake |
683 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return GFP_TRANSHUGE_LIGHT | If vma_madvised Then Caller can reclaim Else 0 |
687 | Return GFP_TRANSHUGE_LIGHT |
Name | Describe |
---|---|
do_huge_pmd_anonymous_page | |
do_huge_pmd_wp_page |
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 |