mm: improve __GFP_NORETRY comment based on implementation
[firefly-linux-kernel-4.4.55.git] / include / linux / gfp.h
index ad35f300b9a46019b43eee1b49c5c0fb281ada10..3bd64b115999f78d430c731b0ba6059f1ff20ed8 100644 (file)
@@ -63,7 +63,10 @@ struct vm_area_struct;
  * but it is definitely preferable to use the flag rather than opencode endless
  * loop around allocator.
  *
- * __GFP_NORETRY: The VM implementation must not retry indefinitely.
+ * __GFP_NORETRY: The VM implementation must not retry indefinitely and will
+ * return NULL when direct reclaim and memory compaction have failed to allow
+ * the allocation to succeed.  The OOM killer is not called with the current
+ * implementation.
  *
  * __GFP_MOVABLE: Flag that this page will be movable by the page migration
  * mechanism or reclaimed