|
@@ -1200,7 +1200,7 @@ static isolate_migrate_t isolate_migratepages(struct zone *zone,
|
|
struct page *page;
|
|
struct page *page;
|
|
const isolate_mode_t isolate_mode =
|
|
const isolate_mode_t isolate_mode =
|
|
(sysctl_compact_unevictable_allowed ? ISOLATE_UNEVICTABLE : 0) |
|
|
(sysctl_compact_unevictable_allowed ? ISOLATE_UNEVICTABLE : 0) |
|
|
- (cc->mode == MIGRATE_ASYNC ? ISOLATE_ASYNC_MIGRATE : 0);
|
|
|
|
|
|
+ (cc->mode != MIGRATE_SYNC ? ISOLATE_ASYNC_MIGRATE : 0);
|
|
|
|
|
|
/*
|
|
/*
|
|
* Start at where we last stopped, or beginning of the zone as
|
|
* Start at where we last stopped, or beginning of the zone as
|