函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-27 17:47:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mem_cgroup_css_reset - reset the states of a mem_cgroup*@css: the target css* Reset the states of the mem_cgroup associated with @css. This is* invoked when the userland requests disabling on the default hierarchy

函数原型:static void mem_cgroup_css_reset(struct cgroup_subsys_state *css)

返回类型:void

参数:

类型参数名称
struct cgroup_subsys_state *css
5124  memcg等于mem_cgroup_from_css(css)
5126  page_counter_set_max - set the maximum number of pages allowed*@counter: counter*@nr_pages: limit to set* Returns 0 on success, -EBUSY if the current number of pages on the* counter already exceeds the specified limit.
5127  page_counter_set_max - set the maximum number of pages allowed*@counter: counter*@nr_pages: limit to set* Returns 0 on success, -EBUSY if the current number of pages on the* counter already exceeds the specified limit.
5128  page_counter_set_max - set the maximum number of pages allowed*@counter: counter*@nr_pages: limit to set* Returns 0 on success, -EBUSY if the current number of pages on the* counter already exceeds the specified limit.
5129  page_counter_set_max - set the maximum number of pages allowed*@counter: counter*@nr_pages: limit to set* Returns 0 on success, -EBUSY if the current number of pages on the* counter already exceeds the specified limit.
5130  page_counter_set_max - set the maximum number of pages allowed*@counter: counter*@nr_pages: limit to set* Returns 0 on success, -EBUSY if the current number of pages on the* counter already exceeds the specified limit.
5131  page_counter_set_min - set the amount of protected memory*@counter: counter*@nr_pages: value to set* The caller must serialize invocations on the same counter.
5132  page_counter_set_low - set the amount of protected memory*@counter: counter*@nr_pages: value to set* The caller must serialize invocations on the same counter.
5133  Upper bound of normal memory consumption range 等于PAGE_COUNTER_MAX
5134  soft_limit等于PAGE_COUNTER_MAX
5135  memcg_wb_domain_size_changed(memcg)