diff options
author | 2021-11-22 09:51:03 -0600 | |
---|---|---|
committer | 2021-12-13 12:04:45 -0600 | |
commit | 7f80a2fd7db9a55894fd841915236aca611291b5 (patch) | |
tree | 8fd67c59d10bc2e69fb34ce9d36ba91e715e9e57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | exit: Move oops specific logic from do_exit into make_task_dead (diff) | |
download | wireguard-linux-7f80a2fd7db9a55894fd841915236aca611291b5.tar.xz wireguard-linux-7f80a2fd7db9a55894fd841915236aca611291b5.zip |
exit: Stop poorly open coding do_task_dead in make_task_dead
When the kernel detects it is oops or otherwise force killing a task
while it exits the code poorly attempts to permanently stop the task
from scheduling.
I say poorly because it is possible for a task in TASK_UINTERRUPTIBLE
to be woken up.
As it makes no sense for the task to continue call do_task_dead
instead which actually does the work and permanently removes the task
from the scheduler. Guaranteeing the task will never be woken
up again.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions