函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swap.h Create Date:2022-07-27 06:56:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mem_cgroup_swappiness

函数原型:static inline int mem_cgroup_swappiness(struct mem_cgroup *memcg)

返回类型:int

参数:

类型参数名称
struct mem_cgroup *memcg
632  如果cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(memory_cgrp_subsys)则返回:vm_swappiness
636  如果mem_cgroup_disabled()或mem_cgroup_is_root(memcg)则返回:vm_swappiness
639  返回:swappiness
调用者
名称描述
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