Function report | 
Source Code:mm\memory.c | 
Create Date:2022-07-28 14:43:12 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:do_shared_fault
Proto:static vm_fault_t do_shared_fault(struct vm_fault *vmf)
Type:vm_fault_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vm_fault * | vmf | 
| 3708 | vma = Target VMA | 
| 3711 | ret = The mmap_sem must have been held on entry, and may have been* released depending on flags and vma->vm_ops->fault() return value.* See filemap_fault() and __lock_page_retry(). | 
| 3712 | If Value for the false possibility is greater at compile time(ret & (VM_FAULT_ERROR | VM_FAULT_NOPAGE | VM_FAULT_RETRY)) Then Return ret | 
| 3719 | If page_mkwrite Then | 
| 3722 | If Value for the false possibility is greater at compile time(!tmp || (tmp & (VM_FAULT_ERROR | VM_FAULT_NOPAGE))) Then | 
| 3730 | If Value for the false possibility is greater at compile time(ret & (VM_FAULT_ERROR | VM_FAULT_NOPAGE | VM_FAULT_RETRY)) Then | 
| 3733 | put_page(->fault handlers should return a* page here, unless VM_FAULT_NOPAGE* is set (which is also implied by* VM_FAULT_ERROR).) | 
| 3734 | Return ret | 
| 3737 | ret |= Handle dirtying of a page in shared file mapping on a write fault.* The function expects the page to be locked and unlocks it. | 
| 3738 | Return ret | 
| Name | Describe | 
|---|---|
| do_fault | We enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults) | 
| 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  |