summaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 88eb59dd7ac6..6965be064a31 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1611,8 +1611,9 @@ nofail_alloc:
* Don't let big-order allocations loop unless the caller explicitly
* requests that. Wait for some write requests to complete then retry.
*
- * In this implementation, __GFP_REPEAT means __GFP_NOFAIL for order
- * <= 3, but that may not be true in other implementations.
+ * In this implementation, either order <= PAGE_ALLOC_COSTLY_ORDER or
+ * __GFP_REPEAT mean __GFP_NOFAIL, but that may not be true in other
+ * implementations.
*/
do_retry = 0;
if (!(gfp_mask & __GFP_NORETRY)) {