|
@@ -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
|
|
* made because an assumption is made that the page allocator can satisfy
|
|
* the "cheaper" orders without taking special steps
|
|
* 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;
|
|
return rc;
|
|
|
|
|
|
count_vm_event(COMPACTSTALL);
|
|
count_vm_event(COMPACTSTALL);
|