From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
To: vdavydov@virtuozzo.com, hannes@cmpxchg.org, mhocko@kernel.org,
rientjes@google.com
Cc: linux-mm@kvack.org
Subject: oom: Bogus "sysrq: OOM request ignored because killer is disabled" message
Date: Sun, 2 Apr 2017 12:52:55 +0900 [thread overview]
Message-ID: <201704021252.GIF21549.QFFOFOMVJtHSLO@I-love.SAKURA.ne.jp> (raw)
I noticed that SysRq-f prints
"sysrq: OOM request ignored because killer is disabled"
when no process was selected (rather than when oom killer was disabled).
This message was not printed until Linux 4.8 because commit 7c5f64f84483bd13
("mm: oom: deduplicate victim selection code for memcg and global oom") changed
from "return true;" to "return !!oc->chosen;" when is_sysrq_oom(oc) is true.
Is this what we meant?
[ 713.805315] sysrq: SysRq : Manual OOM execution
[ 713.808920] Out of memory: Kill process 4468 ((agetty)) score 0 or sacrifice child
[ 713.814913] Killed process 4468 ((agetty)) total-vm:43704kB, anon-rss:1760kB, file-rss:0kB, shmem-rss:0kB
[ 714.004805] sysrq: SysRq : Manual OOM execution
[ 714.005936] Out of memory: Kill process 4469 (systemd-cgroups) score 0 or sacrifice child
[ 714.008117] Killed process 4469 (systemd-cgroups) total-vm:10704kB, anon-rss:120kB, file-rss:0kB, shmem-rss:0kB
[ 714.189310] sysrq: SysRq : Manual OOM execution
[ 714.193425] sysrq: OOM request ignored because killer is disabled
[ 714.381313] sysrq: SysRq : Manual OOM execution
[ 714.385158] sysrq: OOM request ignored because killer is disabled
[ 714.573320] sysrq: SysRq : Manual OOM execution
[ 714.576988] sysrq: OOM request ignored because killer is disabled
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2017-04-02 3:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-02 3:52 Tetsuo Handa [this message]
2017-04-03 8:38 ` Michal Hocko
2017-04-03 9:11 ` Michal Hocko
2017-04-03 10:10 ` Tetsuo Handa
2017-04-03 10:10 ` Vladimir Davydov
2017-04-03 10:20 ` Michal Hocko
2017-04-04 13:23 ` Michal Hocko
2017-04-04 13:36 ` Vladimir Davydov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201704021252.GIF21549.QFFOFOMVJtHSLO@I-love.SAKURA.ne.jp \
--to=penguin-kernel@i-love.sakura.ne.jp \
--cc=hannes@cmpxchg.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=rientjes@google.com \
--cc=vdavydov@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox