Jann Horn f530243a17 mm, oom: OOM sysrq should always kill a process
The OOM kill sysrq (alt+sysrq+F) should allow the user to kill the
process with the highest OOM badness with a single execution.

However, at the moment, the OOM kill can bail out if an OOM notifier
(e.g.  the i915 one) says that it reclaimed a tiny amount of memory from
somewhere.  That's probably not what the user wants, so skip the bailout
if the OOM was triggered via sysrq.

Link: https://lkml.kernel.org/r/20220106102605.635656-1-jannh@google.com
Signed-off-by: Jann Horn <jannh@google.com>
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>
2022-01-15 16:30:30 +02:00
..
2021-05-07 00:26:35 -07:00
2021-05-05 11:27:24 -07:00
2021-05-05 11:27:24 -07:00
2021-10-18 07:49:41 -04:00
2021-11-25 10:13:56 -08:00
2022-01-15 16:30:28 +02:00
2022-01-15 16:30:28 +02:00
2021-11-10 11:29:30 -08:00
2022-01-15 16:30:27 +02:00
2022-01-15 16:30:28 +02:00
2021-11-01 09:19:50 -07:00
2022-01-15 16:30:28 +02:00
2021-06-05 20:43:15 +00:00
2021-05-07 00:26:35 -07:00
2021-04-16 16:10:37 -07:00
2022-01-15 16:30:29 +02:00
2022-01-15 16:30:30 +02:00
2021-05-07 00:26:35 -07:00