|
@@ -2378,6 +2378,13 @@ rebalance:
|
|
|
|
|
|
/* Allocate without watermarks if the context allows */
|
|
|
if (alloc_flags & ALLOC_NO_WATERMARKS) {
|
|
|
+ /*
|
|
|
+ * Ignore mempolicies if ALLOC_NO_WATERMARKS on the grounds
|
|
|
+ * the allocation is high priority and these type of
|
|
|
+ * allocations are system rather than user orientated
|
|
|
+ */
|
|
|
+ zonelist = node_zonelist(numa_node_id(), gfp_mask);
|
|
|
+
|
|
|
page = __alloc_pages_high_priority(gfp_mask, order,
|
|
|
zonelist, high_zoneidx, nodemask,
|
|
|
preferred_zone, migratetype);
|