|
116 | 116 | /* For dup_mmap(). */ |
117 | 117 | #include "../mm/internal.h" |
118 | 118 |
|
119 | | -#ifdef CONFIG_SCHED_BORE |
120 | | -#include <linux/sched/bore.h> |
121 | | -#endif /* CONFIG_SCHED_BORE */ |
122 | | - |
123 | 119 | #include <trace/events/sched.h> |
124 | 120 |
|
125 | 121 | #define CREATE_TRACE_POINTS |
@@ -2324,11 +2320,6 @@ __latent_entropy struct task_struct *copy_process( |
2324 | 2320 | p->start_time = ktime_get_ns(); |
2325 | 2321 | p->start_boottime = ktime_get_boottime_ns(); |
2326 | 2322 |
|
2327 | | -#ifdef CONFIG_SCHED_BORE |
2328 | | - if (likely(p->pid)) |
2329 | | - task_fork_bore(p, current, clone_flags, p->start_time); |
2330 | | -#endif /* CONFIG_SCHED_BORE */ |
2331 | | - |
2332 | 2323 | /* |
2333 | 2324 | * Make it visible to the rest of the system, but dont wake it up yet. |
2334 | 2325 | * Need tasklist lock for parent etc handling! |
@@ -2402,11 +2393,7 @@ __latent_entropy struct task_struct *copy_process( |
2402 | 2393 | */ |
2403 | 2394 | p->signal->has_child_subreaper = p->real_parent->signal->has_child_subreaper || |
2404 | 2395 | p->real_parent->signal->is_child_subreaper; |
2405 | | -#ifdef CONFIG_SCHED_BORE |
2406 | | - list_add_tail_rcu(&p->sibling, &p->real_parent->children); |
2407 | | -#else /* !CONFIG_SCHED_BORE */ |
2408 | 2396 | list_add_tail(&p->sibling, &p->real_parent->children); |
2409 | | -#endif /* CONFIG_SCHED_BORE */ |
2410 | 2397 | list_add_tail_rcu(&p->tasks, &init_task.tasks); |
2411 | 2398 | attach_pid(p, PIDTYPE_TGID); |
2412 | 2399 | attach_pid(p, PIDTYPE_PGID); |
|
0 commit comments