Function report |
Source Code:arch\x86\include\asm\pgtable.h |
Create Date:2022-07-28 06:00:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The x86 doesn't have any external MMU info: the kernel page* tables contain all the necessary information.
Proto:static inline void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | addr | |
| pte_t * | ptep |
NULL
| Name | Describe |
|---|---|
| follow_pfn_pte | |
| insert_pfn | |
| cow_user_page | |
| wp_page_reuse | Handle write page faults for pages that can be reused in the current vma* This can happen either due to the mapping being with the VM_SHARED flag,* or due to us being the last reference standing to the page |
| wp_page_copy | Handle the case of a page which we actually need to copy to a new page.* Called with mmap_sem locked and the old page referenced, but* without the ptl held.* High level logic flow:* - Allocate a page, copy the content of the old page to the new one. |
| do_swap_page | We enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with pte unmapped and unlocked.* We return with the mmap_sem locked or unlocked in the same cases |
| do_anonymous_page | We enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with mmap_sem still held, but pte unmapped and unlocked. |
| alloc_set_pte | alloc_set_pte - setup new PTE entry for given page and add reverse page* mapping |
| do_numa_page | |
| handle_pte_fault | These routines also need to handle stuff like marking pages dirty* and/or accessed for architectures that don't do it in hardware (most* RISC architectures) |
| set_huge_ptep_writable | |
| hugetlb_fault | |
| hugetlb_mcopy_atomic_pte | Used by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages. |
| remove_migration_pte | Restore a potential migration pte to a working pte entry |
| mcopy_atomic_pte | |
| mfill_zeropage_pte |
| 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 |