diff --git a/mm/vmscan.c b/mm/vmscan.c index 0c33a0997907af7be40e5c5ec0e3b34d9bbbcfe8..28b0521e4bfd4cdd5bd520f10d6d3a48e492ba60 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1956,16 +1956,6 @@ static unsigned long do_try_to_free_pages(struct zonelist *zonelist, } out: - /* - * Now that we've scanned all the zones at this priority level, note - * that level within the zone so that the next thread which performs - * scanning of this zone will immediately start out at this priority - * level. This affects only the decision whether or not to bring - * mapped pages onto the inactive list. - */ - if (priority < 0) - priority = 0; - delayacct_freepages_end(); put_mems_allowed();