Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mem_cgroup_swappiness

Proto:static inline int mem_cgroup_swappiness(struct mem_cgroup *memcg)

Type:int

Parameter:

TypeParameterName
struct mem_cgroup *memcg
632  If cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(memory_cgrp_subsys) Then Return vm_swappiness
636  If mem_cgroup_disabled() || mem_cgroup_is_root(memcg) Then Return vm_swappiness
639  Return swappiness
Caller
NameDescribe
get_scan_countDetermine how aggressively the anon and file LRU lists should be* scanned
mem_cgroup_get_maxReturn the memory (and swap, if configured) limit for a memcg.
mem_cgroup_swappiness_read
mem_cgroup_css_alloc