No oom_reaper thread: an OOM victim frees its memory when it exits. One resident kernel thread less. --- a/mm/oom_kill.c 2026-10-04 20:42:00.453388674 +0200 +++ b/mm/oom_kill.c 2026-10-04 20:42:17.890283663 +0200 @@ -647,7 +647,7 @@ put_task_struct(tsk); } -static int oom_reaper(void *unused) +static int __maybe_unused oom_reaper(void *unused) { set_freezable(); @@ -701,6 +701,10 @@ #define OOM_REAPER_DELAY (2*HZ) static void queue_oom_reaper(struct task_struct *tsk) { + /* PLANCK: no oom_reaper thread (oom_init): the victim frees its memory when it exits */ + if (!oom_reaper_th) + return; + /* mm is already queued? */ if (mm_flags_test_and_set(MMF_OOM_REAP_QUEUED, tsk->signal->oom_mm)) return; @@ -741,7 +745,7 @@ static int __init oom_init(void) { - oom_reaper_th = kthread_run(oom_reaper, NULL, "oom_reaper"); + /* PLANCK: one resident kernel thread less; queue_oom_reaper() checks for it */ #ifdef CONFIG_SYSCTL register_sysctl_init("vm", vm_oom_kill_table); #endif