Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\rmap.c Create Date:2022-07-28 14:57:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__put_anon_vma

Proto:void __put_anon_vma(struct anon_vma *anon_vma)

Type:void

Parameter:

TypeParameterName
struct anon_vma *anon_vma
1794  root = Root of this anon_vma tree
1796  anon_vma_free(anon_vma)
1797  If root != anon_vma && atomic_dec_and_test( & The refcount is taken on an anon_vma when there is no* guarantee that the vma of page tables will exist for* the duration of the operation. A caller that takes* the reference is responsible for clearing up the* anon_vma if they are the last user on release) Then anon_vma_free(root)
Caller
NameDescribe
page_lock_anon_vma_readSimilar to page_get_anon_vma() except it locks the anon_vma.* Its a little more complex as it tries to keep the fast path to a single* atomic op -- the trylock. If we fail the trylock, we fall back to getting a