diff options
author | Shaohua Li <shaohua.li@intel.com> | 2010-10-26 17:21:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 19:52:07 -0400 |
commit | 66d9a986cddbbc2ea5db013e7999c621a956cc47 (patch) | |
tree | bfe0d223e9b07c2300f445f9694525e956657d1e /mm/vmscan.c | |
parent | bce54bbfde07e8b300f39dae14756c12a6ceca65 (diff) |
vmscan: delete dead code
`priority' cannot be negative here. And the comment is obsolete.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 0c33a0997907..28b0521e4bfd 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1956,16 +1956,6 @@ static unsigned long do_try_to_free_pages(struct zonelist *zonelist, | |||
1956 | } | 1956 | } |
1957 | 1957 | ||
1958 | out: | 1958 | out: |
1959 | /* | ||
1960 | * Now that we've scanned all the zones at this priority level, note | ||
1961 | * that level within the zone so that the next thread which performs | ||
1962 | * scanning of this zone will immediately start out at this priority | ||
1963 | * level. This affects only the decision whether or not to bring | ||
1964 | * mapped pages onto the inactive list. | ||
1965 | */ | ||
1966 | if (priority < 0) | ||
1967 | priority = 0; | ||
1968 | |||
1969 | delayacct_freepages_end(); | 1959 | delayacct_freepages_end(); |
1970 | put_mems_allowed(); | 1960 | put_mems_allowed(); |
1971 | 1961 | ||