函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mem_cgroup_css_offline

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

返回类型:void

参数:

类型参数名称
struct cgroup_subsys_state *css
5053  memcg等于mem_cgroup_from_css(css)
5061  加自旋锁
5063  删除链表项并重新初始化
5064  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise
5066  自旋锁解锁
5068  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.
5069  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.
5071  memcg_offline_kmem(memcg)
5072  wb_memcg_offline(memcg)
5074  Drains all per-CPU charge caches for given root_memcg resp. subtree* of the hierarchy under it.
5076  mem_cgroup_id_put(memcg)