diff options
author | Shaohua Li <[email protected]> | 2010-11-11 14:05:17 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-11-12 07:55:31 -0800 |
commit | 1dce071e18b7264457d17c0dec4c7e430bfaee7d (patch) | |
tree | ced52f7f8e4177f9ea37f891f4d33d0a5109e651 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 38715258aa2e8cd94bd4aafadc544e5104efd551 (diff) |
vmscan: avoid setting zone congested if no page dirty
nr_dirty and nr_congested are increased only when the page is dirty. So
if all pages are clean, both them will be zero. In this case, we should
not mark the zone congested.
Signed-off-by: Shaohua Li <[email protected]>
Reviewed-by: Johannes Weiner <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions