aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2014-06-04 16:10:54 -0700
committerLinus Torvalds <[email protected]>2014-06-04 16:54:12 -0700
commita9b0f8618d46ba027243b8ecb5c2468a7112d235 (patch)
tree31ccf1d5066a3b7a3b163326ec6a9e462ffe0ed6 /tools/perf/scripts/python
parent7d018176e6d50510b142bccbd60d8c6ed5e72e56 (diff)
mm: nominate faultaround area in bytes rather than page order
There is evidencs that the faultaround feature is less relevant on architectures with page size bigger then 4k. Which makes sense since page fault overhead per byte of mapped area should be less there. Let's rework the feature to specify faultaround area in bytes instead of page order. It's 64 kilobytes for now. The patch effectively disables faultaround on architectures with page size >= 64k (like ppc64). It's possible that some other size of faultaround area is relevant for a platform. We can expose `fault_around_bytes' variable to arch-specific code once such platforms will be found. Signed-off-by: Kirill A. Shutemov <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Dave Hansen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions