diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2016-03-17 14:20:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-17 15:09:34 -0700 |
commit | 0a687aace3b8e215e08eed8a67014f5b8f133ab0 (patch) | |
tree | b81d0496ee8ccf3060566c57feb0f77a6394aa57 /include/linux/ramfs.h | |
parent | 6afcf2895e6f229476bd0dc95fe915e639ae0a49 (diff) | |
download | talos-obmc-linux-0a687aace3b8e215e08eed8a67014f5b8f133ab0.tar.gz talos-obmc-linux-0a687aace3b8e215e08eed8a67014f5b8f133ab0.zip |
mm,oom: do not loop !__GFP_FS allocation if the OOM killer is disabled
After the OOM killer is disabled during suspend operation, any
!__GFP_NOFAIL && __GFP_FS allocations are forced to fail. Thus, any
!__GFP_NOFAIL && !__GFP_FS allocations should be forced to fail as well.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-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/ramfs.h')
0 files changed, 0 insertions, 0 deletions