Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332434
b: refs/heads/master
c: 3cc668f
h: refs/heads/master
v: v3
  • Loading branch information
Mel Gorman authored and Linus Torvalds committed Oct 9, 2012
1 parent c08efd9 commit f9459aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: e64c5237cf6ff474cb2f3f832f48f2b441dd9979
refs/heads/master: 3cc668f4e30fbd97b3c0574d8cac7a83903c9bc7
4 changes: 1 addition & 3 deletions trunk/mm/compaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ static bool compact_checklock_irqsave(spinlock_t *lock, unsigned long *flags,
}

cond_resched();
if (fatal_signal_pending(current))
return false;
}

if (!locked)
Expand Down Expand Up @@ -363,7 +361,7 @@ isolate_migratepages_range(struct zone *zone, struct compact_control *cc,
/* Check if it is ok to still hold the lock */
locked = compact_checklock_irqsave(&zone->lru_lock, &flags,
locked, cc);
if (!locked)
if (!locked || fatal_signal_pending(current))
break;

/*
Expand Down

0 comments on commit f9459aa

Please sign in to comment.