summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-11-05 15:11:34 +0100
committerAndreas Kling <kling@serenityos.org>2022-11-05 18:54:39 +0100
commit9c46fb7337be204e26ba9c1aeb8ac2aace8dff7a (patch)
treee546890092395dad9bd31161d82fa1876ecb975d /Kernel/API
parentcfa5e031083d3738ebe24558243ff5974ac27392 (diff)
downloadserenity-9c46fb7337be204e26ba9c1aeb8ac2aace8dff7a.zip
Kernel: Make sys$msyscall() not take the big lock
This function is already serialized by the address space lock.
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index 3603f5f87e..bb04e3da3c 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -122,7 +122,7 @@ enum class NeedsBigProcessLock {
S(mprotect, NeedsBigProcessLock::Yes) \
S(mremap, NeedsBigProcessLock::Yes) \
S(msync, NeedsBigProcessLock::Yes) \
- S(msyscall, NeedsBigProcessLock::Yes) \
+ S(msyscall, NeedsBigProcessLock::No) \
S(munmap, NeedsBigProcessLock::Yes) \
S(open, NeedsBigProcessLock::Yes) \
S(perf_event, NeedsBigProcessLock::Yes) \