mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] cgroup: fix obsolete function name
@ 2023-07-17 11:28 Miaohe Lin
  2023-07-17 18:39 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Miaohe Lin @ 2023-07-17 11:28 UTC (permalink / raw)
  To: tj, hannes, lizefan.x; +Cc: cgroups, linux-kernel, linmiaohe

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] cgroup: fix obsolete function name
  2023-07-17 11:28 [PATCH] cgroup: fix obsolete function name Miaohe Lin
@ 2023-07-17 18:39 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2023-07-17 18:39 UTC (permalink / raw)
  To: Miaohe Lin; +Cc: hannes, lizefan.x, cgroups, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-17 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-17 11:28 [PATCH] cgroup: fix obsolete function name Miaohe Lin
2023-07-17 18:39 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®