sched/numa: Simplify task_numa_compare()
authorRik van Riel <riel@redhat.com>
Mon, 23 Jun 2014 15:46:15 +0000 (11:46 -0400)
committerIngo Molnar <mingo@kernel.org>
Sat, 5 Jul 2014 09:17:37 +0000 (11:17 +0200)
commit1c5d3eb3759013bc7ee4197aa0a9f245bdb6eb90
tree40e613c451a1a8420fb744c184aebd42da419ed5
parent6dc1a672ab15604947361dcd02e459effa09bad5
sched/numa: Simplify task_numa_compare()

When a task is part of a numa_group, the comparison should always use
the group weight, in order to make workloads converge.

Signed-off-by: Rik van Riel <riel@redhat.com>
Cc: chegu_vinod@hp.com
Cc: mgorman@suse.de
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1403538378-31571-4-git-send-email-riel@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c
This page took 0.025332 seconds and 5 git commands to generate.