Function report | 
Source Code:mm\huge_memory.c | 
Create Date:2022-07-28 16:00:28 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:transparent_hugepage_enabled
Proto:bool transparent_hugepage_enabled(struct vm_area_struct *vma)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vm_area_struct * | vma | 
| 70 | If Not transhuge_vma_suitable(vma, addr) Then Return false | 
| 72 | If vma_is_anonymous(vma) Then Return be used on vmas which are known to support THP.* Use transparent_hugepage_enabled otherwise | 
| 74 | If vma_is_shmem(vma) Then Return shmem_huge_enabled(vma) | 
| 77 | Return false | 
| 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  |