kthread: remove comments about old _do_fork() helper
PATCH 1/1 kthread: remove comments about old _do_fork() helper
From: Yanfei Xu <[email protected]>
The old _do_fork() helper has been removed in favor of kernel_clone(). Here correct some comments which still contain _do_fork()
Signed-off-by Yanfei Xu <[email protected]>
--- include/trace/events/sched.h | 2 +- kernel/kthread.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/trace/events/sched.h +1 -1
@@ -366,7 +366,7 @@ TRACE_EVENT(sched_process_wait, );/* -* Tracepoint for do_fork: +* Tracepoint for kernel_clone: */ TRACE_EVENT(sched_process_fork,
kernel/kthread.c +1 -1
@@ -294,7 +294,7 @@ static int kthread(void *_create)do_exit (ret); } -/* called from do_fork() to get node information for about to be created task */ +/* called from kernel_clone() to get node information for about to be created task */ int tsk_fork_get_node (struct task_struct *tsk) {#ifdef CONFIG_NUMA
Signature · 1 line
2.18.2
Quoted 7 lines · On Mon, Jan 11, 2021 at 06:48:07PM +0800, [email protected] wrote:
From: Yanfei Xu <[email protected]>
The old
_do_fork()helper has been removed in favor ofkernel_clone(). Here correct some comments which still contain_do_fork()Signed-off-by Yanfei Xu <[email protected]>---
Thanks, applied.