Loading kernel/sched/core.c +2 −1 Original line number Diff line number Diff line Loading @@ -2426,9 +2426,10 @@ static inline void init_schedstats(void) {} int sched_fork(unsigned long clone_flags, struct task_struct *p) { unsigned long flags; int cpu = get_cpu(); int cpu; init_new_task_load(p, false); cpu = get_cpu(); __sched_fork(clone_flags, p); /* * We mark the process as NEW here. This guarantees that Loading Loading
kernel/sched/core.c +2 −1 Original line number Diff line number Diff line Loading @@ -2426,9 +2426,10 @@ static inline void init_schedstats(void) {} int sched_fork(unsigned long clone_flags, struct task_struct *p) { unsigned long flags; int cpu = get_cpu(); int cpu; init_new_task_load(p, false); cpu = get_cpu(); __sched_fork(clone_flags, p); /* * We mark the process as NEW here. This guarantees that Loading