[PATCH] cgroup: fix obsolete function name

Miaohe Lin posted 1 patch 2 years, 6 months ago
kernel/cgroup/cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cgroup: fix obsolete function name
Posted by Miaohe Lin 2 years, 6 months ago
cgroup_taskset_migrate() has been renamed to cgroup_migrate_execute() since
commit e595cd706982 ("cgroup: track migration context in cgroup_mgctx").
Update the corresponding comment.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
 kernel/cgroup/cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index a2700bf86698..40ee81f982ff 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -2499,7 +2499,7 @@ struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset,
 
 			/*
 			 * This function may be called both before and
-			 * after cgroup_taskset_migrate().  The two cases
+			 * after cgroup_migrate_execute().  The two cases
 			 * can be distinguished by looking at whether @cset
 			 * has its ->mg_dst_cset set.
 			 */
-- 
2.33.0
Re: [PATCH] cgroup: fix obsolete function name
Posted by Tejun Heo 2 years, 6 months ago
On Mon, Jul 17, 2023 at 07:28:00PM +0800, Miaohe Lin wrote:
> cgroup_taskset_migrate() has been renamed to cgroup_migrate_execute() since
> commit e595cd706982 ("cgroup: track migration context in cgroup_mgctx").
> Update the corresponding comment.

Applied to cgroup/for-6.6.

Thanks.

-- 
tejun