sched, numa, mm: Count WS scanning against present PTEs, not virtual memory ranges
authorMel Gorman <[email protected]>
Wed, 14 Nov 2012 18:34:32 +0000 (18:34 +0000)
committerMel Gorman <[email protected]>
Tue, 11 Dec 2012 14:42:46 +0000 (14:42 +0000)
commit9f40604cdab935e80db57b309c48659de349d4e6
tree72f77bdb7d8ab07e4db4323642db7c04eca8e9e9
parent6e5fb223e89dbe5cb5c563f8d4a4a0a7d62455a8
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Mel Gorman <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Mel Gorman <[email protected]>
kernel/sched/fair.c