commit | db2a0dd7a43de595d3f0542986bb17ccb6cc364c | [log] [tgz] |
---|---|---|
author | Yaowei Bai <bywxiaobai@163.com> | Fri Nov 06 16:28:06 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Nov 06 17:50:42 2015 -0800 |
tree | fe0a8f9a78ee5cc49edb52324b21a0349d439f6c | |
parent | 5bc23a0cdee4a6757fcc2919eb26827fe11e3bee [diff] |
mm/oom_kill.c: introduce is_sysrq_oom helper Introduce is_sysrq_oom helper function indicating oom kill triggered by sysrq to improve readability. No functional changes. Signed-off-by: Yaowei Bai <bywxiaobai@163.com> Acked-by: David Rientjes <rientjes@google.com> Acked-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>