summaryrefslogtreecommitdiffstats
path: root/kernel/sched/core.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@parallels.com>2014-11-07 14:07:36 +0300
committerIngo Molnar <mingo@kernel.org>2014-11-16 10:58:48 +0100
commit753899183c53aa609375b214ea8e040da89119c3 (patch)
tree56a60ed59a61e2c7ee37f48375e7cf882dab0d92 /kernel/sched/core.c
parente9ac5f0fa8549dffe2a15870217a9c2e7cd557ec (diff)
downloadop-kernel-dev-753899183c53aa609375b214ea8e040da89119c3.zip
op-kernel-dev-753899183c53aa609375b214ea8e040da89119c3.tar.gz
sched/fair: Kill task_struct::numa_entry and numa_group::task_list
Nobody iterates over numa_group::task_list, this just confuses the readers. Signed-off-by: Kirill Tkhai <ktkhai@parallels.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/1415358456.28592.17.camel@tkhai Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r--kernel/sched/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 960f704..3ccdce1 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -1861,7 +1861,6 @@ static void __sched_fork(unsigned long clone_flags, struct task_struct *p)
p->last_task_numa_placement = 0;
p->last_sum_exec_runtime = 0;
- INIT_LIST_HEAD(&p->numa_entry);
p->numa_group = NULL;
#endif /* CONFIG_NUMA_BALANCING */
}
OpenPOWER on IntegriCloud