Commit cb5021ca authored by Yanfei Xu's avatar Yanfei Xu Committed by Christian Brauner

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/20210111104807.18022-1-yanfei.xu@windriver.com
Cc: christian@brauner.io
Cc: linux-kernel@vger.kernel.org
Acked-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: default avatarYanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 96e1e984
...@@ -366,7 +366,7 @@ TRACE_EVENT(sched_process_wait, ...@@ -366,7 +366,7 @@ TRACE_EVENT(sched_process_wait,
); );
/* /*
* Tracepoint for do_fork: * Tracepoint for kernel_clone:
*/ */
TRACE_EVENT(sched_process_fork, TRACE_EVENT(sched_process_fork,
......
...@@ -294,7 +294,7 @@ static int kthread(void *_create) ...@@ -294,7 +294,7 @@ static int kthread(void *_create)
do_exit(ret); 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) int tsk_fork_get_node(struct task_struct *tsk)
{ {
#ifdef CONFIG_NUMA #ifdef CONFIG_NUMA
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment