# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/linux/oom_kill_allocating_task.patch # Copyright (C) 2021 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Let's try to default to the simple scheme of just killing the allocating task instead of excessively scanning to kill X, wayland, or openssh away :-/ - René Rebe --- linux-5.19/mm/oom_kill.c.vanilla 2022-08-01 12:24:17.597910541 +0200 +++ linux-5.19/mm/oom_kill.c 2022-08-01 12:24:27.131910161 +0200 @@ -53,7 +53,7 @@ #include static int sysctl_panic_on_oom; -static int sysctl_oom_kill_allocating_task; +static int sysctl_oom_kill_allocating_task = 1; static int sysctl_oom_dump_tasks = 1; /*