Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static void pids_charge(struct pids_cgroup *pids, int num)

Type:void

Parameter:

TypeParameterName
struct pids_cgroup *pids
intnum
130  When parent_pids(p) cycle atomic64_add(num, & * Use 64-bit types so that we can safely represent "max" as * %PIDS_MAX = (%PID_MAX_LIMIT + 1).)
Caller
NameDescribe
pids_can_attach
pids_cancel_attach