Function report |
Source Code:mm\mmap.c |
Create Date:2022-07-28 14:50:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The mmap_sem cannot be released by the caller until* mm_drop_all_locks() returns.
Proto:void mm_drop_all_locks(struct mm_struct *mm)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mm_struct * | mm |
| 3612 | BUG_ON(!mutex_is_locked( & mm_all_locks_mutex)) |
| 3617 | vm_unlock_anon_vma(anon_vma) |
| 3618 | If File we map to (can be NULL). && f_mapping Then vm_unlock_mapping(f_mapping) |
| Name | Describe |
|---|---|
| mm_take_all_locks | This operation locks against the VM for all pte/vma/mm related* operations that could ever happen on a certain mm. This includes* vmtruncate, try_to_unmap, and all page faults.* The caller must take the mmap_sem in write mode before calling |
| __mmu_notifier_register | Same as mmu_notifier_register but here the caller must hold the mmap_sem in* write mode. A NULL mn signals the notifier is being registered for itree* mode. |
| 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 |