1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:08:12 +00:00

Kernel: Disable big process lock for sys$dbgputch

This syscall doesn't touch any intra-process shared resources and
already holds the global logging lock so there's no reason to hold
the big lock.
This commit is contained in:
Idan Horowitz 2021-08-06 14:39:16 +03:00 committed by Andreas Kling
parent 72331168be
commit b1f4f6ee15
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ KResultOr<FlatPtr> Process::sys$dump_backtrace()
KResultOr<FlatPtr> Process::sys$dbgputch(u8 ch)
{
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
VERIFY_NO_PROCESS_BIG_LOCK(this);
dbgputch(ch);
return 0;
}