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

Commit 37b173a4 authored by Marcelo Tosatti's avatar Marcelo Tosatti Committed by Linus Torvalds
Browse files

[PATCH] remove completly bogus comment inside __alloc_pages() try_to_free_pages handling



Remove completly bogus comment from did_some_progress != 0 handling (that
same comment is a few lines below on did_some_progress = 0 case, where it
belongs).

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 79b9ce31
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -897,12 +897,6 @@ __alloc_pages(unsigned int __nocast gfp_mask, unsigned int order,
	cond_resched();

	if (likely(did_some_progress)) {
		/*
		 * Go through the zonelist yet one more time, keep
		 * very high watermark here, this is only to catch
		 * a parallel oom killing, we must fail if we're still
		 * under heavy pressure.
		 */
		for (i = 0; (z = zones[i]) != NULL; i++) {
			if (!zone_watermark_ok(z, order, z->pages_min,
					       classzone_idx, can_try_harder,