Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 338fde90 authored by KOSAKI Motohiro's avatar KOSAKI Motohiro Committed by Linus Torvalds
Browse files

vmscan: make consistent of reclaim bale out between do_try_to_free_page and shrink_zone



Fix small inconsistent of ">" and ">=".

Signed-off-by: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: default avatarRik van Riel <riel@redhat.com>
Reviewed-by: default avatarMinchan Kim <minchan.kim@gmail.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ece74b2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1637,7 +1637,7 @@ static void shrink_zone(int priority, struct zone *zone,
		 * with multiple processes reclaiming pages, the total
		 * with multiple processes reclaiming pages, the total
		 * freeing target can get unreasonably large.
		 * freeing target can get unreasonably large.
		 */
		 */
		if (nr_reclaimed > nr_to_reclaim && priority < DEF_PRIORITY)
		if (nr_reclaimed >= nr_to_reclaim && priority < DEF_PRIORITY)
			break;
			break;
	}
	}