diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-08-06 14:39:16 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-06 23:36:12 +0200 |
commit | b1f4f6ee1581f18be58ddcdb3257fe3fb79190c7 (patch) | |
tree | d71c3e80c4703d2615a1dc6f032181830d15e8b7 /Kernel/Syscalls/debug.cpp | |
parent | 72331168beace30cfa5c560cec25298228e2f1ca (diff) | |
download | serenity-b1f4f6ee1581f18be58ddcdb3257fe3fb79190c7.zip |
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.
Diffstat (limited to 'Kernel/Syscalls/debug.cpp')
-rw-r--r-- | Kernel/Syscalls/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/debug.cpp b/Kernel/Syscalls/debug.cpp index 841f7e419d..7926da79bf 100644 --- a/Kernel/Syscalls/debug.cpp +++ b/Kernel/Syscalls/debug.cpp @@ -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; } |