函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmacache.c Create Date:2022-07-27 15:56:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vmacache_valid

函数原型:static bool vmacache_valid(struct mm_struct *mm)

返回类型:bool

参数:

类型参数名称
struct mm_struct *mm
46  如果非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.则返回:false
49  curr等于当前进程
50  如果 per-thread vmacache 不等于seqnum
55  seqnum等于 per-thread vmacache
56  vmacache_flush(curr)
57  返回:false
59  返回:true
调用者
名称描述
vmacache_find