Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332347
b: refs/heads/master
c: 4ffb633
h: refs/heads/master
i:
  332345: a2e93d1
  332343: de7410c
v: v3
  • Loading branch information
Mel Gorman authored and Linus Torvalds committed Oct 9, 2012
1 parent 36b32b2 commit 3fbd789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6597d783397aebb793fb529474cce5089aa4c67f
refs/heads/master: 4ffb6335da87b51c17e7ff6495170785f21558dd
6 changes: 1 addition & 5 deletions trunk/mm/compaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,11 +869,7 @@ unsigned long try_to_compact_pages(struct zonelist *zonelist,
struct zone *zone;
int rc = COMPACT_SKIPPED;

/*
* Check whether it is worth even starting compaction. The order check is
* made because an assumption is made that the page allocator can satisfy
* the "cheaper" orders without taking special steps
*/
/* Check if the GFP flags allow compaction */
if (!order || !may_enter_fs || !may_perform_io)
return rc;

Expand Down

0 comments on commit 3fbd789

Please sign in to comment.