]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched, numa, mm: Count WS scanning against present PTEs, not virtual memory ranges
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 31 Oct 2012 12:56:08 +0000 (13:56 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 19 Nov 2012 02:31:59 +0000 (03:31 +0100)
commit4c3ccec06be99c533525edaf92a50f3d7794c15e
tree538b2460dbeccff0de2868726d454660db266dcc
parenta5aa10c61119dad9ab63e66d4f9e60e919bb5994
sched, numa, mm: Count WS scanning against present PTEs, not virtual memory ranges

By accounting against the present PTEs, scanning speed reflects the
actual present (mapped) memory.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: 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/fair.c