sched, numa, mm: Count WS scanning against present PTEs, not virtual memory ranges
authorMel Gorman <mgorman@suse.de>
Wed, 14 Nov 2012 18:34:32 +0000 (18:34 +0000)
committerMel Gorman <mgorman@suse.de>
Tue, 11 Dec 2012 14:42:46 +0000 (14:42 +0000)
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: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Mel Gorman <mgorman@suse.de>

No differences found