函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void page_counter_set_low(struct page_counter *counter, unsigned long nr_pages)

返回类型:void

参数:

类型参数名称
struct page_counter *counter
unsigned longnr_pages
233  low等于nr_pages
235 c循环propagate_protected_usage(c, atomic_long_read( & usage))
调用者
名称描述
mem_cgroup_css_offline
mem_cgroup_css_resetmem_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
memory_low_write