1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 06:47:34 +00:00

Kernel: Don't disable interrupts while dealing with a process crash

This was necessary in the past when crash handling would modify
various global things, but all that stuff is long gone so we can
simplify crashes by leaving the interrupt flag alone.
This commit is contained in:
Andreas Kling 2021-02-25 19:23:39 +01:00
parent 0c4fbcae76
commit 8eeb8db2ed
4 changed files with 0 additions and 5 deletions

View file

@ -308,7 +308,6 @@ void create_signal_trampoline()
void Process::crash(int signal, u32 eip, bool out_of_memory)
{
VERIFY_INTERRUPTS_DISABLED();
VERIFY(!is_dead());
VERIFY(Process::current() == this);