Function report |
Source Code:mm\rmap.c |
Create Date:2022-07-28 14:56:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mm_find_pmd
Proto:pmd_t *mm_find_pmd(struct mm_struct *mm, unsigned long address)
Type:pmd_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mm_struct * | mm | |
| unsigned long | address |
| 740 | If Not pgd_present( * pgd) Then Go to out |
| 743 | p4d = p4d_offset(pgd, address) |
| 744 | If Not p4d_present( * p4d) Then Go to out |
| 747 | pud = pud_offset(p4d, address) |
| 748 | If Not pud_present( * pud) Then Go to out |
| 751 | pmd = pmd_offset(pud, address) |
| 759 | If Not pmd_present(pmde) || pmd_trans_huge(pmde) Then pmd = NULL |
| 761 | out : |
| 762 | Return pmd |
| Name | Describe |
|---|---|
| replace_page | place_page - replace page in vma by new ksm page*@vma: vma that holds the pte pointing to page*@page: the page we are replacing by kpage*@kpage: the ksm page we replace page by*@orig_pte: the original value of the pte |
| __collapse_huge_page_swapin | Bring missing pages in from swap, to complete THP collapse.* Only done if khugepaged_scan_pmd believes it is worthwhile.* Called and returns without pte mapped or spinlocks held,* but with mmap_sem held to protect against vma changes. |
| collapse_huge_page | |
| khugepaged_scan_pmd |
| 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 |