diff options
author | David Rientjes <rientjes@google.com> | 2010-03-05 16:42:23 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 14:26:27 -0500 |
commit | 478352e789f507105193d3d0177c3b4f26da0399 (patch) | |
tree | c1f614f19aac209814a44611cf7a9b126fc1e493 /include/linux | |
parent | 645747462435d84c6c6a64269ed49cc3015f753d (diff) |
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: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/gfp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 2e1b32c0484d..4c6d41333f98 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h | |||
@@ -30,7 +30,8 @@ struct vm_area_struct; | |||
30 | * _might_ fail. This depends upon the particular VM implementation. | 30 | * _might_ fail. This depends upon the particular VM implementation. |
31 | * | 31 | * |
32 | * __GFP_NOFAIL: The VM implementation _must_ retry infinitely: the caller | 32 | * __GFP_NOFAIL: The VM implementation _must_ retry infinitely: the caller |
33 | * cannot handle allocation failures. | 33 | * cannot handle allocation failures. This modifier is deprecated and no new |
34 | * users should be added. | ||
34 | * | 35 | * |
35 | * __GFP_NORETRY: The VM implementation must not retry indefinitely. | 36 | * __GFP_NORETRY: The VM implementation must not retry indefinitely. |
36 | * | 37 | * |