mm/compaction: reverse the change that forbade sync migraton with __GFP_NO_KSWAPD
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / mm / page_alloc.c
index 77773329aa72ab1c4d9e3e39a16fbc4a5e027784..83eaa2eb72f854fef63f16f4da255c347cb8a3c2 100644 (file)
@@ -2107,7 +2107,7 @@ rebalance:
                                        sync_migration);
        if (page)
                goto got_pg;
-       sync_migration = !(gfp_mask & __GFP_NO_KSWAPD);
+       sync_migration = true;
 
        /* Try direct reclaim and then allocating */
        page = __alloc_pages_direct_reclaim(gfp_mask, order,