Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:41:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static inline void wp_page_reuse(struct vm_fault *vmf)__releases(vmf->ptl)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_fault * | vmf |
| 2425 | vma = Target VMA |
| 2426 | page = ->fault handlers should return a* page here, unless VM_FAULT_NOPAGE* is set (which is also implied by* VM_FAULT_ERROR). |
| 2433 | If page Then page_cpupid_xchg_last(page, (1 << LAST_CPUPID_SHIFT) - 1) |
| 2441 | pte_unmap_unlock(Pointer to pte entry matching* the 'address'. NULL if the page* table hasn't been allocated., Page table lock.* Protects pte page table if 'pte'* is not NULL, otherwise pmd.) |
| Name | Describe |
|---|---|
| finish_mkwrite_fault | sh_mkwrite_fault - finish page fault for a shared mapping, making PTE* writeable once the page is prepared*@vmf: structure describing the fault* This function handles all that is needed to finish a write page fault in a |
| wp_pfn_shared | Handle write page faults for VM_MIXEDMAP or VM_PFNMAP for a VM_SHARED* mapping |
| wp_page_shared | |
| do_wp_page | This routine handles present pages, when users try to write* to a shared page. It is done by copying the page to a new address* and decrementing the shared-page counter for the old page.* Note that this routine assumes that the protection checks have been |
| 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 |