Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ss kill confirmation processing requires process context, bounce

Proto:static void css_killed_ref_fn(struct percpu_ref *ref)

Type:void

Parameter:

TypeParameterName
struct percpu_ref *ref
5372  css = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(ref, structcgroup_subsys_state, refcnt)
5375  If atomic_dec_and_test( & Incremented by online self and children. Used to guarantee that* parents are not offlined before their children.) Then
5376  INIT_WORK( & percpu_ref killing and RCU release , This is called when the refcnt of a css is confirmed to be killed.* css_tryget_online() is now guaranteed to fail. Tell the subsystem to* initate destruction and put the css ref from kill_css().)
5377  queue_work - queue work on a workqueue*@wq: workqueue to use*@work: work to queue* Returns %false if @work was already on a queue, %true otherwise.* We queue the work to the CPU on which it was submitted, but if the CPU dies