Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\nommu.c Create Date:2022-07-28 14:36:44
Last Modify:2020-03-17 21:26:27 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lease a reference to a region* - the caller must hold the region semaphore for writing, which this releases* - the region may not have been added to the tree yet, in which case vm_top* will equal vm_start

Proto:static void __put_nommu_region(struct vm_region *region)__releases(nommu_region_sem)

Type:void

Parameter:

TypeParameterName
struct vm_region *region
558  BUG_ON(!rb_node)
560  If --gion usage count (access under nommu_region_sem) == 0 Then
561  If gion allocated to here > start address of region Then delete a region from the global tree
563  lease a write lock
565  If he backing file or NULL Then fput(he backing file or NULL )
570  If VMA vm_flags & VM_MAPPED_COPY Then a contiguous series of pages
572  kmem_cache_free(list of mapped, potentially shareable regions , region)
573  Else
574  lease a write lock
Caller
NameDescribe
put_nommu_regionlease a reference to a region