]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove __GFP_NOFAIL is deprecated comment
authorMichal Hocko <mhocko@suse.com>
Thu, 17 Mar 2016 21:19:32 +0000 (14:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commit27ded598eba099bc503023da92cf06d746daf5ae
treedc1e5436e7c42ed026dbd3725a49792f4d7aa3b5
parente6fac93b3cd5d33193927e65b31c2911e4d462fa
mm: remove __GFP_NOFAIL is deprecated comment

Commit d68ea0264b4c ("mm: clarify __GFP_NOFAIL deprecation status") was
incomplete and didn't remove the comment about __GFP_NOFAIL being
deprecated in buffered_rmqueue.

Let's get rid of this leftover but keep the WARN_ON_ONCE for order > 1
because we should really discourage from using __GFP_NOFAIL with higher
order allocations because those are just too subtle.

Signed-off-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c