From: David Rientjes Date: Fri, 5 Mar 2010 21:42:23 +0000 (-0800) Subject: mm: add comment about deprecation of __GFP_NOFAIL X-Git-Tag: v2.6.34-rc1~151 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=478352e789f507105193d3d0177c3b4f26da0399;p=~shefty%2Frdma-dev.git 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 Signed-off-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 2e1b32c0484..4c6d41333f9 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -30,7 +30,8 @@ struct vm_area_struct; * _might_ fail. This depends upon the particular VM implementation. * * __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. *