]> www.infradead.org Git - users/dwmw2/linux.git/commit
um: remove broken double fault detection
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 3 Nov 2024 15:05:06 +0000 (16:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 7 Nov 2024 16:36:31 +0000 (17:36 +0100)
commitce6e85a186c28ab0ca024580cba93fa19147c72b
treedac6be1ade6734c1f5717e0ea21b5fdaff866729
parentb69f22dfd6973ec54da5e2b8fd1f1cd138b533b0
um: remove broken double fault detection

The show_stack function had some code to detect double faults. However,
the logic is wrong and it would e.g. trigger if a WARNING happened
inside an IRQ.

Remove it without trying to add a new logic. The current behaviour,
which will just fault repeatedly until the IRQ stack is used up and the
host kills UML, seems to be good enough.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20241103150506.1367695-5-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/include/shared/os.h
arch/um/kernel/sysrq.c
arch/um/os-Linux/signal.c