Skip to content

Commit

Permalink
[PATCH] remove completly bogus comment inside __alloc_pages() try_to_…
Browse files Browse the repository at this point in the history
…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: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Marcelo Tosatti authored and Linus Torvalds committed Jul 8, 2005
1 parent 79b9ce3 commit 37b173a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 37b173a

Please sign in to comment.