Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Used to destroy all pidlists lingering waiting for destroy timer. None* should be left afterwards.

Proto:void cgroup1_pidlist_destroy_all(struct cgroup *cgrp)

Type:void

Parameter:

TypeParameterName
struct cgroup *cgrp
204  mutex_lock( & pidlist_mutex)
205  list_for_each_entry_safe - iterate over list of given type safe against removal of list entry*@pos: the type * to use as a loop cursor.*@n: another type * to use as temporary storage*@head: the head for your list.(l, tmp_l, & * list of pidlists, up to two for each namespace (one for procs, one * for tasks); created on demand., links)
206  mod_delayed_work - modify delay of or queue a delayed work*@wq: workqueue to use*@dwork: work to queue*@delay: number of jiffies to wait before queueing* mod_delayed_work_on() on local CPU.
207  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
209  lush_workqueue - ensure that any scheduled work has run to completion.*@wq: workqueue to flush* This function sleeps until all work items which were queued on entry* have finished execution, but it is not livelocked by new incoming ones.
210  BUG_ON(!list_empty - tests whether a list is empty*@head: the list to test.)
Caller
NameDescribe
css_free_rwork_fnss destruction is four-stage process