Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\psi.c Create Date:2022-07-28 09:46:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:psi_cgroup_free

Proto:void psi_cgroup_free(struct cgroup *cgroup)

Type:void

Parameter:

TypeParameterName
struct cgroup *cgroup
881  If static_branch_likely( & psi_disabled) Then Return
884  ancel_delayed_work_sync - cancel a delayed work and wait for it to finish*@dwork: the delayed work cancel* This is cancel_work_sync() for delayed works.* Return:* %true if @dwork was pending, %false otherwise.
885  free previously allocated percpu memory
887  WARN_ONCE(poll_states, "psi: trigger leak\n")
Caller
NameDescribe
css_free_rwork_fnss destruction is four-stage process
cgroup_createThe returned cgroup is fully initialized including its control mask, but* it isn't associated with its kernfs_node and doesn't have the control* mask applied.