summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/debug.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-08-06 14:39:16 +0300
committerAndreas Kling <kling@serenityos.org>2021-08-06 23:36:12 +0200
commitb1f4f6ee1581f18be58ddcdb3257fe3fb79190c7 (patch)
treed71c3e80c4703d2615a1dc6f032181830d15e8b7 /Kernel/Syscalls/debug.cpp
parent72331168beace30cfa5c560cec25298228e2f1ca (diff)
downloadserenity-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.cpp2
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;
}