Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pids_can_attach

Proto:static int pids_can_attach(struct cgroup_taskset *tset)

Type:int

Parameter:

TypeParameterName
struct cgroup_taskset *tset
176  pids = css_pids(dst_css)
185  old_css = ask_css - obtain css for (task, subsys)*@task: the target task*@subsys_id: the target subsystem ID* See task_css_check().
186  old_pids = css_pids(old_css)
188  pids_charge - hierarchically charge the pid count*@pids: the pid cgroup state*@num: the number of pids to charge* This function does *not* follow the pid limit set. It cannot fail and the new* pid count may exceed the limit
189  pids_uncharge - hierarchically uncharge the pid count*@pids: the pid cgroup state*@num: the number of pids to uncharge
192  Return 0