Skip to content

Commit cb5021c

Browse files
Yanfei XuChristian Brauner
authored andcommitted
kthread: remove comments about old _do_fork() helper
The old _do_fork() helper has been removed in favor of kernel_clone(). Here correct some comments which still contain _do_fork() Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Cc: [email protected] Acked-by: Christian Brauner <[email protected]> Signed-off-by: Yanfei Xu <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent 96e1e98 commit cb5021c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/trace/events/sched.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ TRACE_EVENT(sched_process_wait,
366366
);
367367

368368
/*
369-
* Tracepoint for do_fork:
369+
* Tracepoint for kernel_clone:
370370
*/
371371
TRACE_EVENT(sched_process_fork,
372372

kernel/kthread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ static int kthread(void *_create)
294294
do_exit(ret);
295295
}
296296

297-
/* called from do_fork() to get node information for about to be created task */
297+
/* called from kernel_clone() to get node information for about to be created task */
298298
int tsk_fork_get_node(struct task_struct *tsk)
299299
{
300300
#ifdef CONFIG_NUMA

0 commit comments

Comments
 (0)