diff options
| author | Wu Fengguang <[email protected]> | 2009-06-16 15:31:19 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-06-16 19:47:28 -0700 |
| commit | 1ebf26a9b338534def47f307c6c8694b6dfc0a79 (patch) | |
| tree | 26829a8cc727388c0da8eea6de38d7ba0eda2a47 /tools/perf/scripts/python | |
| parent | bb1f17b0372de93758653ca3454bc0df18dc2e5c (diff) | |
readahead: make mmap_miss an unsigned int
This makes the performance impact of possible mmap_miss wrap around to be
temporary and tolerable: i.e. MMAP_LOTSAMISS=100 extra readarounds.
Otherwise if ever mmap_miss wraps around to negative, it takes INT_MAX
cache misses to bring it back to normal state. During the time mmap
readaround will be _enabled_ for whatever wild random workload. That's
almost permanent performance impact.
Signed-off-by: Wu Fengguang <[email protected]>
Cc: Ying Han <[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