Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\huge_memory.c Create Date:2022-07-28 16:02:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vma_adjust_trans_huge

Proto:void vma_adjust_trans_huge(struct vm_area_struct *vma, unsigned long start, unsigned long end, long adjust_next)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longstart
unsigned longend
longadjust_next
2380  If start & ~HPAGE_PMD_MASK && (start & HPAGE_PMD_MASK) >= Our start address within vm_mm. && (start & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE <= The first byte after our end addresswithin vm_mm. Then split_huge_pmd_address(vma, start, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., NULL)
2390  If end & ~HPAGE_PMD_MASK && (end & HPAGE_PMD_MASK) >= Our start address within vm_mm. && (end & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE <= The first byte after our end addresswithin vm_mm. Then split_huge_pmd_address(vma, end, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., NULL)
2400  If adjust_next > 0 Then
2401  next = linked list of VM areas per task, sorted by address
2402  nstart = Our start address within vm_mm.
2403  nstart += adjust_next << PAGE_SHIFT determines the page size
2404  If nstart & ~HPAGE_PMD_MASK && (nstart & HPAGE_PMD_MASK) >= Our start address within vm_mm. && (nstart & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE <= The first byte after our end addresswithin vm_mm. Then split_huge_pmd_address(next, nstart, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., NULL)
Caller
NameDescribe
SYSCALL_DEFINE5Emulation of deprecated remap_file_pages() syscall.