Why Nostr? What is Njump?
2024-07-20 14:59:13
in reply to

Hector Martin on Nostr: THAT BSOD was caused by a driver *crashing*, not a driver *returning an error code*, ...

THAT BSOD was caused by a driver *crashing*, not a driver *returning an error code*, which is a very different thing because a crash is uncontrolled and cannot be safely handled, while an error code return *is* a safe and controlled condition.

Linux actually tries to prevent a full system panic, and only terminates the current process if the context is a user process. If you're lucky that means the machine keeps working as normal, if the crash didn't corrupt memory. More often than not, even in that case, the faulty driver had some mutexes locked and your system will slowly deadlock into oblivion as other processes try to lock the same mutex. There is no reasonable way around this. This is why uncontrolled crashes are bad and error returns are not.
Author Public Key
npub1qk9x6yrvten3jqyvundn7exggm90fxf9yfarj5eaz25yd7aty8hqe9azpx