函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-27 15:42:36
Last Modify:2022-05-23 13:41:30 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:shrink_list

函数原型:static unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan, struct lruvec *lruvec, struct scan_control *sc)

返回类型:unsigned long

参数:

类型参数名称
enum lru_listlru
unsigned longnr_to_scan
struct lruvec *lruvec
struct scan_control *sc
2170  如果is_active_lru(lru)则
2171  如果may_deactivate按位与1左移is_file_lru(lru)位则shrink_active_list(nr_to_scan, lruvec, sc, lru)
2173  否则skipped_deactivate等于1
2175  返回:0
2178  返回:shrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages
调用者
名称描述
shrink_lruvec