]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched: Implement NUMA scanning backoff
authorIngo Molnar <mingo@kernel.org>
Wed, 14 Nov 2012 11:18:29 +0000 (12:18 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 19 Nov 2012 13:49:44 +0000 (14:49 +0100)
commit634a74e5803ae9f40bf18f9c115e76a4b969183d
treeafb18e3dabdfa17ff712d05a6a480124bb6b0166
parent19813eac02bbfa6baa2670d26bfec888bb8fc503
sched: Implement NUMA scanning backoff

Back off slowly from scanning, up to sysctl_sched_numa_scan_period_max
(1.6 seconds). Scan faster again if we were forced to switch to
another node.

This makes sure that workload in equilibrium don't get scanned as often
as workloads that are still converging.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/fair.c