Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ss_task_iter_end - finish task iteration*@it: the task iterator to finish* Finish task iteration started by css_task_iter_start().

Proto:void css_task_iter_end(struct css_task_iter *it)

Type:void

Parameter:

TypeParameterName
struct css_task_iter *it
4576  If cur_cset Then
4577  spin_lock_irq( & css_set_lock)
4578  deletes entry from list
4579  put_css_set_locked(cur_cset)
4580  spin_unlock_irq( & css_set_lock)
4583  If cur_dcset Then put_css_set(cur_dcset)
4586  If cur_task Then put_task_struct(cur_task)
Caller
NameDescribe
cgroup_procs_release
__cgroup_procs_start
cgroup_transfer_tasksgroup_trasnsfer_tasks - move tasks from one cgroup to another*@to: cgroup to which the tasks will be moved*@from: cgroup in which the tasks currently reside* Locking rules between cgroup_post_fork() and the migration path* guarantee that, if a task is
pidlist_array_loadLoad a cgroup's pidarray with either procs' tgids or tasks' pids
cgroupstats_buildgroupstats_build - build and fill cgroupstats*@stats: cgroupstats to fill information into*@dentry: A dentry entry belonging to the cgroup for which stats have* been requested.* Build and fill cgroupstats so that taskstats can export it to user* space.
cgroup_do_freezeFreeze or unfreeze all tasks in the given cgroup.
update_if_frozenpdate_if_frozen - update whether a cgroup finished freezing*@css: css of interest* Once FREEZING is initiated, transition to FROZEN is lazily updated by* calling this function
freeze_cgroup
unfreeze_cgroup
update_tasks_cpumaskpdate_tasks_cpumask - Update the cpumasks of tasks in the cpuset.*@cs: the cpuset in which each task's cpus_allowed mask needs to be changed* Iterate through each task of @cs updating its cpus_allowed to the* effective cpuset's
update_tasks_nodemaskpdate_tasks_nodemask - Update the nodemasks of tasks in the cpuset.*@cs: the cpuset in which each task's mems_allowed mask needs to be changed* Iterate through each task of @cs updating its mems_allowed to the* effective cpuset's
update_tasks_flagspdate_tasks_flags - update the spread flags of tasks in the cpuset