diff options
author | David Rientjes <[email protected]> | 2014-01-21 15:51:12 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-01-21 16:19:49 -0800 |
commit | aed0a0e32de387da831284fda25021de32477195 (patch) | |
tree | 503af52f3d2d7ae2d3cdccb648fcd7977658f9ea /lib/test-string_helpers.c | |
parent | 55b7c4c99f6a448f72179297fe6432544f220063 (diff) |
mm, page_alloc: warn for non-blockable __GFP_NOFAIL allocation failure
__GFP_NOFAIL may return NULL when coupled with GFP_NOWAIT or GFP_ATOMIC.
Luckily, nothing currently does such craziness. So instead of causing
such allocations to loop (potentially forever), we maintain the current
behavior and also warn about the new users of the deprecated flag.
Suggested-by: Andrew Morton <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions