Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:41:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Handle dirtying of a page in shared file mapping on a write fault.* The function expects the page to be locked and unlocks it.
Proto:static vm_fault_t fault_dirty_shared_page(struct vm_fault *vmf)
Type:vm_fault_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_fault * | vmf |
| 2371 | vma = Target VMA |
| 2373 | page = ->fault handlers should return a* page here, unless VM_FAULT_NOPAGE* is set (which is also implied by* VM_FAULT_ERROR). |
| 2377 | dirtied = Dirty a page |
| 2378 | VM_BUG_ON_PAGE(PageAnon(page), page) |
| 2388 | If Not page_mkwrite Then file_update_time(File we map to (can be NULL). ) |
| 2400 | If (dirtied || page_mkwrite) && mapping Then |
| 2411 | Return 0 |
| Name | Describe |
|---|---|
| wp_page_shared | |
| do_shared_fault |
| 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 |