diff options
-rw-r--r-- | mm/vmscan.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 0f16ffe8eb67..19b5b8016209 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -2534,14 +2534,6 @@ out: | |||
2534 | if (sc->nr_reclaimed) | 2534 | if (sc->nr_reclaimed) |
2535 | return sc->nr_reclaimed; | 2535 | return sc->nr_reclaimed; |
2536 | 2536 | ||
2537 | /* | ||
2538 | * As hibernation is going on, kswapd is freezed so that it can't mark | ||
2539 | * the zone into all_unreclaimable. Thus bypassing all_unreclaimable | ||
2540 | * check. | ||
2541 | */ | ||
2542 | if (oom_killer_disabled) | ||
2543 | return 0; | ||
2544 | |||
2545 | /* Aborted reclaim to try compaction? don't OOM, then */ | 2537 | /* Aborted reclaim to try compaction? don't OOM, then */ |
2546 | if (aborted_reclaim) | 2538 | if (aborted_reclaim) |
2547 | return 1; | 2539 | return 1; |