aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/cgroup/cgroup.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-03-23 12:43:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-23 12:43:35 -0700
commit2fce7ea0e0964e598cf9da8985d2d811f8c6a4a7 (patch)
treece7f5478e8f7e453e1b06a7ad4d4f522798417a8 /kernel/cgroup/cgroup.c
parentMerge branch 'for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq (diff)
parentcgroup: cleanup comments (diff)
downloadwireguard-linux-2fce7ea0e0964e598cf9da8985d2d811f8c6a4a7.tar.xz
wireguard-linux-2fce7ea0e0964e598cf9da8985d2d811f8c6a4a7.zip
Merge branch 'for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
Pull cgroup updates from Tejun Heo: "All trivial cleanups without meaningful behavior changes" * 'for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup: cgroup: cleanup comments cgroup: Fix cgroup_can_fork() and cgroup_post_fork() kernel-doc comment cgroup: rstat: retrieve current bstat to delta directly cgroup: rstat: use same convention to assign cgroup_base_stat
Diffstat (limited to 'kernel/cgroup/cgroup.c')
-rw-r--r--kernel/cgroup/cgroup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index a557eea7166f..795c2818e2a3 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -6243,6 +6243,7 @@ static void cgroup_css_set_put_fork(struct kernel_clone_args *kargs)
/**
* cgroup_can_fork - called on a new task before the process is exposed
* @child: the child process
+ * @kargs: the arguments passed to create the child process
*
* This prepares a new css_set for the child process which the child will
* be attached to in cgroup_post_fork().
@@ -6305,6 +6306,7 @@ void cgroup_cancel_fork(struct task_struct *child,
/**
* cgroup_post_fork - finalize cgroup setup for the child process
* @child: the child process
+ * @kargs: the arguments passed to create the child process
*
* Attach the child process to its css_set calling the subsystem fork()
* callbacks.