函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:group_file_notify - generate a file modified event for a cgroup_file*@cfile: target cgroup_file*@cfile must have been obtained by setting cftype->file_offset.

函数原型:void cgroup_file_notify(struct cgroup_file *cfile)

返回类型:void

参数:

类型参数名称
struct cgroup_file *cfile
4092  spin_lock_irqsave( & Protects cgroup_file->kn for !self csses. It synchronizes notifications* against file removal/re-creation across css hiding., flags)
4093  如果do not access any fields from outside cgroup core
4094  last等于notified_at
4095  next等于lastlet's not notify more than 100 times per second
4099  否则
4101  notified_at等于jiffies
4104  spin_unlock_irqrestore( & Protects cgroup_file->kn for !self csses. It synchronizes notifications* against file removal/re-creation across css hiding., flags)
调用者
名称描述
cgroup_update_populatedgroup_update_populated - update the populated count of a cgroup*@cgrp: the target cgroup*@populated: inc or dec populated count* One of the css_sets associated with @cgrp is either getting its first* task or losing the last
cgroup_file_notify_timer
cgroup_propagate_frozenPropagate the cgroup frozen state upwards by the cgroup tree.
cgroup_update_frozenRevisit the cgroup frozen state.* Checks if the cgroup is really frozen and perform all state transitions.
cgroup_freeze
pids_can_forkask_css_check(true) in pids_can_fork() and pids_cancel_fork() relies* on cgroup_threadgroup_change_begin() held by the copy_process().
memcg_memory_event