Function Report

Linux Kernel (v4.4)

Source File:include\linux\fs.h Create Date:2016-01-14 09:11:21
Last Modify:2016-01-12 20:11:18 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:i_mmap_unlock_write

Function:static inline void i_mmap_unlock_write(struct address_space *mapping)

Return Type:static inline void

Parameter:

Type Parameter NameRemarks
struct address_space * mapping

Function description:

504  release a write lock
Caller
Function NameFunction description
dup_mmap
add_vma_to_mmadd a VMA into a process's mm_struct in the appropriate place in the list and tree and add to the address space's page tree also if not an anonymous page- should be called with mm->mmap_sem held writelocked
delete_vma_from_mmdelete a VMA from its owning mm_struct and address space
unmap_single_vma
unmap_mapping_range unmap the portion of all mmaps in the specified address_space corresponding to the specified page range in the underlying file.
unlink_file_vmaUnlink a file-based vm structure from its interval tree, to hide vma from rmap and vmtruncate before freeing its page tables.
vma_link
vma_adjustWe cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that is already present in an i_mmap tree without adjusting the tree
vm_unlock_mapping
move_ptes
unmap_ref_privateThis is called when the original mapper is failing to COW a MAP_PRIVATE mappping it owns the reserve page for. The intention is to unmap the page from other VMAs and let the children be SIGKILLed if they are faulting the same region.
hugetlb_change_protection