diff options
author | Minchan Kim <[email protected]> | 2011-10-31 17:06:44 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-10-31 17:30:44 -0700 |
commit | b9e84ac1536d35aee03b2601f19694949f0bd506 (patch) | |
tree | 822eb1802818954248efc5cf67dc9a8a0ace5908 /tools/perf/scripts/python/syscall-counts.py | |
parent | fcf634098c00dd9cd247447368495f0b79be12d1 (diff) |
mm: compaction: trivial clean up in acct_isolated()
acct_isolated of compaction uses page_lru_base_type which returns only
base type of LRU list so it never returns LRU_ACTIVE_ANON or
LRU_ACTIVE_FILE. In addtion, cc->nr_[anon|file] is used in only
acct_isolated so it doesn't have fields in conpact_control.
This patch removes fields from compact_control and makes clear function of
acct_issolated which counts the number of anon|file pages isolated.
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]>
Acked-by: Mel Gorman <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Reviewed-by: Michal Hocko <[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