diff options
| author | Wu Fengguang <[email protected]> | 2009-06-16 15:33:05 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-06-16 19:47:44 -0700 |
| commit | 6fe6b7e35785e3232ffe7f81d3893f1316710a02 (patch) | |
| tree | 6f47c03735504d8aab8f7b048465b87cc5b15861 /include/linux/debugobjects.h | |
| parent | 608e8e66a154cbc3d591a59dcebfd9cbc9e3431a (diff) | |
vmscan: report vm_flags in page_referenced()
Collect vma->vm_flags of the VMAs that actually referenced the page.
This is preparing for more informed reclaim heuristics, eg. to protect
executable file pages more aggressively. For now only the VM_EXEC bit
will be used by the caller.
Thanks to Johannes, Peter and Minchan for all the good tips.
Acked-by: Peter Zijlstra <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Reviewed-by: Johannes Weiner <[email protected]>
Signed-off-by: Wu Fengguang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions