Function report |
Source Code:include\linux\huge_mm.h |
Create Date:2022-07-28 05:43:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:transhuge_vma_suitable
Proto:static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, unsigned long haddr)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | haddr |
135 | If Not vma_is_anonymous(vma) Then |
136 | If ( Our start address within vm_mm. >> PAGE_SHIFT determines the page size & HPAGE_CACHE_INDEX_MASK) != (Offset (within vm_file) in PAGE_SIZEunits & HPAGE_CACHE_INDEX_MASK) Then Return false |
141 | If haddr < Our start address within vm_mm. || haddr + HPAGE_PMD_SIZE > The first byte after our end addresswithin vm_mm. Then Return false |
143 | Return true |
Name | Describe |
---|---|
transparent_hugepage_enabled | |
do_huge_pmd_anonymous_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 |