sched/numa: Fix period_slot recalculation
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Thu, 12 Dec 2013 07:23:26 +0000 (15:23 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Dec 2013 14:24:41 +0000 (15:24 +0100)
commite777b63bbd589248eb151a3191ee92331a701385
treeb31cc96b7a5be58eafe51b7666b05b6a4419abaf
parent82897b4fd3920ffd2456731d4f2ae1406558ef4c
sched/numa: Fix period_slot recalculation

The original code is as intended and was meant to scale the difference
between the NUMA_PERIOD_THRESHOLD and local/remote ratio when adjusting
the scan period. The period_slot recalculation can be dropped.

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Rik van Riel <riel@redhat.com>
Link: http://lkml.kernel.org/r/1386833006-6600-4-git-send-email-liwanp@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c