Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmacache_valid

Proto:static bool vmacache_valid(struct mm_struct *mm)

Type:bool

Parameter:

TypeParameterName
struct mm_struct *mm
46  If Not 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 Return false
49  curr = current process
50  If per-thread vmacache != seqnum Then
55  seqnum = per-thread vmacache
56  vmacache_flush(curr)
57  Return false
59  Return true
Caller
NameDescribe
vmacache_find