Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272154
b: refs/heads/master
c: d43a87e
h: refs/heads/master
v: v3
  • Loading branch information
Kyungmin Park authored and Linus Torvalds committed Nov 1, 2011
1 parent fd9b478 commit abcb2fe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 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: dd73e85f6d8f721d66bcbd2734a5f4bc3d3cd768
refs/heads/master: d43a87e68e9e71d2987a29cc239acec4e8f410c9
8 changes: 0 additions & 8 deletions trunk/include/linux/compaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ extern unsigned long try_to_compact_pages(struct zonelist *zonelist,
int order, gfp_t gfp_mask, nodemask_t *mask,
bool sync);
extern unsigned long compaction_suitable(struct zone *zone, int order);
extern unsigned long compact_zone_order(struct zone *zone, int order,
gfp_t gfp_mask, bool sync);

/* Do not skip compaction more than 64 times */
#define COMPACT_MAX_DEFER_SHIFT 6
Expand Down Expand Up @@ -69,12 +67,6 @@ static inline unsigned long compaction_suitable(struct zone *zone, int order)
return COMPACT_SKIPPED;
}

static inline unsigned long compact_zone_order(struct zone *zone, int order,
gfp_t gfp_mask, bool sync)
{
return COMPACT_CONTINUE;
}

static inline void defer_compaction(struct zone *zone)
{
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/mm/compaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ static int compact_zone(struct zone *zone, struct compact_control *cc)
return ret;
}

unsigned long compact_zone_order(struct zone *zone,
static unsigned long compact_zone_order(struct zone *zone,
int order, gfp_t gfp_mask,
bool sync)
{
Expand Down

0 comments on commit abcb2fe

Please sign in to comment.