summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-04-03 13:19:11 +0200
committerAndreas Kling <kling@serenityos.org>2023-04-04 10:33:42 +0200
commit5759ea19fb52d678872999936e6a215e963b30d5 (patch)
tree5c83915d247a9174caa5b255453ec4e32b8e77a7 /Kernel/API/Syscall.h
parent496d918e92a4fd32d1ce5d72c80ff6f81783e69a (diff)
downloadserenity-5759ea19fb52d678872999936e6a215e963b30d5.zip
Kernel: Mark sys$alarm as not needing the big lock
Access to Process::m_alarm_timer is serialized via SpinlockProtected, so there's no longer need for this syscall to use the big lock.
Diffstat (limited to 'Kernel/API/Syscall.h')
-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 8e19dbd2be..4134eb0cc2 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -47,7 +47,7 @@ enum class NeedsBigProcessLock {
#define ENUMERATE_SYSCALLS(S) \
S(accept4, NeedsBigProcessLock::No) \
S(adjtime, NeedsBigProcessLock::No) \
- S(alarm, NeedsBigProcessLock::Yes) \
+ S(alarm, NeedsBigProcessLock::No) \
S(allocate_tls, NeedsBigProcessLock::Yes) \
S(anon_create, NeedsBigProcessLock::No) \
S(annotate_mapping, NeedsBigProcessLock::No) \