diff options
author | Minchan Kim <[email protected]> | 2011-10-31 17:06:55 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-10-31 17:30:44 -0700 |
commit | f80c0673610e36ae29d63e3297175e22f70dde5f (patch) | |
tree | 0a6aab3b637fa75961224e9261eb544156672c34 /tools/perf/scripts/python/syscall-counts.py | |
parent | 39deaf8585152f1a35c1676d3d7dc6ae0fb65967 (diff) |
mm: zone_reclaim: make isolate_lru_page() filter-aware
In __zone_reclaim case, we don't want to shrink mapped page. Nonetheless,
we have isolated mapped page and re-add it into LRU's head. It's
unnecessary CPU overhead and makes LRU churning.
Of course, when we isolate the page, the page might be mapped but when we
try to migrate the page, the page would be not mapped. So it could be
migrated. But race is rare and although it happens, it's no big deal.
Signed-off-by: Minchan Kim <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions