]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - mm/compaction.c
mm: compaction: use synchronous compaction for /proc/sys/vm/compact_memory
[~shefty/rdma-dev.git] / mm / compaction.c
index 396ea2b47f7e9b94003b328246b80fcc19e55511..d31e64becb387b6b618b0e6d81bf6073773b08bf 100644 (file)
@@ -668,6 +668,7 @@ static int compact_node(int nid)
                        .nr_freepages = 0,
                        .nr_migratepages = 0,
                        .order = -1,
+                       .sync = true,
                };
 
                zone = &pgdat->node_zones[zoneid];