diff options
author | 2015-11-05 18:48:23 -0800 | |
---|---|---|
committer | 2015-11-05 19:34:48 -0800 | |
commit | c319025a6c79e532d862e3a0b9506ba316a4d13a (patch) | |
tree | 750c8a25dac8a54d87122be6d3afb3d4523f0d09 /include/linux/memcontrol.h | |
parent | mm/oom_kill: remove the wrong fatal_signal_pending() check in oom_kill_process() (diff) | |
download | linux-dev-c319025a6c79e532d862e3a0b9506ba316a4d13a.tar.xz linux-dev-c319025a6c79e532d862e3a0b9506ba316a4d13a.zip |
mm/oom_kill: cleanup the "kill sharing same memory" loop
Purely cosmetic, but the complex "if" condition looks annoying to me.
Especially because it is not consistent with OOM_SCORE_ADJ_MIN check
which adds another if/continue.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Kyle Walker <kwalker@redhat.com>
Cc: Stanislav Kozina <skozina@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/memcontrol.h')
0 files changed, 0 insertions, 0 deletions