Commit 478352e7 authored by David Rientjes's avatar David Rientjes Committed by Linus Torvalds

mm: add comment about deprecation of __GFP_NOFAIL

__GFP_NOFAIL was deprecated in dab48dab, so add a comment that no new
users should be added.
Reviewed-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 64574746
...@@ -30,7 +30,8 @@ struct vm_area_struct; ...@@ -30,7 +30,8 @@ struct vm_area_struct;
* _might_ fail. This depends upon the particular VM implementation. * _might_ fail. This depends upon the particular VM implementation.
* *
* __GFP_NOFAIL: The VM implementation _must_ retry infinitely: the caller * __GFP_NOFAIL: The VM implementation _must_ retry infinitely: the caller
* cannot handle allocation failures. * cannot handle allocation failures. This modifier is deprecated and no new
* users should be added.
* *
* __GFP_NORETRY: The VM implementation must not retry indefinitely. * __GFP_NORETRY: The VM implementation must not retry indefinitely.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment