]> git.baikalelectronics.ru Git - kernel.git/commit
sched/numa: Slow scan rate if no NUMA hinting faults are being recorded
authorMel Gorman <mgorman@suse.de>
Mon, 7 Oct 2013 10:28:56 +0000 (11:28 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 10:40:21 +0000 (12:40 +0200)
commite4a0b56b9cebe0c25528ffa224d1a86edfdf4167
treea3a1f1eb0b3550e730f533bc7c4deb77549bd370
parent95a64adde93ea93693653bee9521333a89d16258
sched/numa: Slow scan rate if no NUMA hinting faults are being recorded

NUMA PTE scanning slows if a NUMA hinting fault was trapped and no page
was migrated. For long-lived but idle processes there may be no faults
but the scan rate will be high and just waste CPU. This patch will slow
the scan rate for processes that are not trapping faults.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1381141781-10992-19-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c