Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

cgroup: update comment about dropping cgroup kn refs

the cgroup is actually freed in css_free_rwork_fn() now
the ref count of the cgroup's kernfs_node is also dropped there
so we need to update the corresponding comment in cgroup_mkdir()

Signed-off-by: Haorui He <mail@hehaorui.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Haorui He and committed by
Tejun Heo
4a6780a3 b9d8a295

+1 -1
+1 -1
kernel/cgroup/cgroup.c
··· 5835 5835 } 5836 5836 5837 5837 /* 5838 - * This extra ref will be put in cgroup_free_fn() and guarantees 5838 + * This extra ref will be put in css_free_rwork_fn() and guarantees 5839 5839 * that @cgrp->kn is always accessible. 5840 5840 */ 5841 5841 kernfs_get(cgrp->kn);