summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/debug.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-08-06 14:33:14 +0300
committerAndreas Kling <kling@serenityos.org>2021-08-06 23:36:12 +0200
commitc7ad4c6c322c58660f0eccb0459c1b6367c23223 (patch)
tree46374ec66ba19f18b00919a5da5b5ffa45a93649 /Kernel/Syscalls/debug.cpp
parent00818b8447cfe3b87ba1d05a0741b8fc0eb94d8f (diff)
downloadserenity-c7ad4c6c322c58660f0eccb0459c1b6367c23223.zip
Kernel: Disable big process lock for sys$dbgputstr
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 fcc8165251..841f7e419d 100644
--- a/Kernel/Syscalls/debug.cpp
+++ b/Kernel/Syscalls/debug.cpp
@@ -27,7 +27,7 @@ KResultOr<FlatPtr> Process::sys$dbgputch(u8 ch)
KResultOr<FlatPtr> Process::sys$dbgputstr(Userspace<const u8*> characters, size_t size)
{
- VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
+ VERIFY_NO_PROCESS_BIG_LOCK(this);
if (size == 0)
return 0;