diff options
author | Peter Zijlstra <[email protected]> | 2012-11-19 03:14:23 +0100 |
---|---|---|
committer | Mel Gorman <[email protected]> | 2012-12-11 14:28:34 +0000 |
commit | 7da4d641c58d201c3cc1835c05ca1a7fa26f0856 (patch) | |
tree | bf40cc40433383ee94559ea2ef19a282dead358f /net/lapb/lapb_iface.c | |
parent | 4fd017708c4a067da51a2b5cf8aedddf4e840b1f (diff) |
mm: Count the number of pages affected in change_protection()
This will be used for three kinds of purposes:
- to optimize mprotect()
- to speed up working set scanning for working set areas that
have not been touched
- to more accurately scan per real working set
No change in functionality from this patch.
Suggested-by: Ingo Molnar <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions