Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:42:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sh_fault - finish page fault once we have prepared the page to fault*@vmf: structure describing the fault* This function handles all that is needed to finish a page fault once the* page to fault in is prepared
Proto:vm_fault_t finish_fault(struct vm_fault *vmf)
Type:vm_fault_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_fault * | vmf |
3503 | ret = 0 |
3506 | If FAULT_FLAG_xxx flags & Fault was a write access && Not (Flags, see mm.h. & VM_SHARED) Then page = Page handler may use for COW fault |
3509 | Else page = ->fault handlers should return a* page here, unless VM_FAULT_NOPAGE* is set (which is also implied by* VM_FAULT_ERROR). |
3516 | If Not (Flags, see mm.h. & VM_SHARED) Then ret = Checks whether a page fault on the given mm is still reliable |
3518 | If Not ret Then ret = alloc_set_pte - setup new PTE entry for given page and add reverse page* mapping |
3522 | Return ret |
Name | Describe |
---|---|
do_read_fault | |
do_cow_fault | |
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 |