Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmacache_update

Proto:void vmacache_update(unsigned long addr, struct vm_area_struct *newvma)

Type:void

Parameter:

TypeParameterName
unsigned longaddr
struct vm_area_struct *newvma
38  If This task may be accessing a foreign mm via (for example)* get_user_pages()->find_vma(). The vmacache is task-local and this* task's vmacache pertains to a different mm (ie, its own). There is* nothing we can do here. Then vmas[VMACACHE_HASH(addr)] = newvma
Caller
NameDescribe
find_vmalook up the first VMA in which addr resides, NULL if none* - should be called with mm->mmap_sem at least held readlocked
find_vma_exactlook up the first VMA exactly that exactly matches addr* - should be called with mm->mmap_sem at least held readlocked
find_vmaLook up the first VMA which satisfies addr < vm_end, NULL if none.