]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/compaction.c
thp: use compaction for all allocation orders
[karo-tx-linux.git] / mm / compaction.c
index 60d52a7298d535f3e8ff6ccec2369623e28425fd..6d592a021072a89048b6edd0ec79c8f965b83d49 100644 (file)
@@ -578,7 +578,7 @@ unsigned long try_to_compact_pages(struct zonelist *zonelist,
         * made because an assumption is made that the page allocator can satisfy
         * the "cheaper" orders without taking special steps
         */
-       if (order <= PAGE_ALLOC_COSTLY_ORDER || !may_enter_fs || !may_perform_io)
+       if (!order || !may_enter_fs || !may_perform_io)
                return rc;
 
        count_vm_event(COMPACTSTALL);