What to do in response to a kernel warning
What to do in response to a kernel warning
Posted Nov 23, 2021 10:38 UTC (Tue) by mm7323 (subscriber, #87386)Parent article: What to do in response to a kernel warning
For the cases where a WARN() can be certainly attributed to some task, perhaps there should be a WARN_ON() variant which takes a struct task_struct e.g. WARN_ON_TASK(). Then some policy may decide to dump, kill or deliver a signal to that process, avoiding the risk of killing something unrelated and risking more harm.
