Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lruvec_page_state

Proto:static inline unsigned long lruvec_page_state(struct lruvec *lruvec, enum node_stat_item idx)

Type:unsigned long

Parameter:

TypeParameterName
struct lruvec *lruvec
enum node_stat_itemidx
663  If mem_cgroup_disabled() Then Return Determine the per node value of a stat item.
666  pn = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(lruvec, structmem_cgroup_per_node, lruvec)
667  x = atomic_long_read( & lruvec_stat[idx])
672  Return x
Caller
NameDescribe
inactive_is_lowThe inactive anon list should be small enough that the VM never has* to do too much work.* The inactive file list should be small enough to leave most memory* to the established workingset on the scan-resistant active list,
shrink_node
snapshot_refaults
workingset_refaultworkingset_refault - evaluate the refault of a previously evicted page*@page: the freshly allocated replacement page*@shadow: shadow entry of the evicted page* Calculates and evaluates the refault distance of the previously* evicted page in the context of