Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mmzone.h Create Date:2022-07-28 05:37:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:is_file_lru

Proto:static inline bool is_file_lru(enum lru_list lru)

Type:bool

Parameter:

TypeParameterName
enum lru_listlru
277  Return lru == LRU_INACTIVE_FILE || lru == LRU_ACTIVE_FILE
Caller
NameDescribe
shrink_inactive_listshrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages
shrink_active_list
shrink_list
get_scan_countDetermine how aggressively the anon and file LRU lists should be* scanned