Function report |
Source Code:mm\khugepaged.c |
Create Date:2022-07-28 16:04:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hugepage_madvise
Proto:int hugepage_madvise(struct vm_area_struct *vma, unsigned long *vm_flags, int advice)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long * | vm_flags | |
| int | advice |
| 317 | Case advice == Worth backing with hugepages |
| 334 | If Not (vm_flags & VM_NO_KHUGEPAGED) && khugepaged_enter_vma_merge(vma, * vm_flags) Then Return -ENOMEM |
| 337 | Break |
| 338 | Case advice == Not worth backing with hugepages |
| 346 | Break |
| 349 | Return 0 |
| 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 |