Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-28 11:10:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void cgroup_file_notify(struct cgroup_file *cfile)

Type:void

Parameter:

TypeParameterName
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  If do not access any fields from outside cgroup core Then
4094  last = notified_at
4095  next = last + let's not notify more than 100 times per second
4099  Else
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)
Caller
NameDescribe
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