diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-07-18 11:33:35 -0700 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-07-20 03:21:14 +0200 |
commit | 5c10fb4007748374640f1db27190946e45422921 (patch) | |
tree | d4d89d14cb209b32ff1efa51fa713bbad0d07ba8 /Kernel/API | |
parent | 638598b15d53a877031da33e4fe23c2a038f719a (diff) | |
download | serenity-5c10fb4007748374640f1db27190946e45422921.zip |
Kernel: Disable big process lock for sys$gettid()
This syscall reads a read only value from the current thread, and hence
has no need for the big process lock.
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/Syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index d9b292dde3..80b5506954 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -126,7 +126,7 @@ enum class NeedsBigProcessLock { S(getsockopt, NeedsBigProcessLock::Yes) \ S(setsockopt, NeedsBigProcessLock::Yes) \ S(create_thread, NeedsBigProcessLock::Yes) \ - S(gettid, NeedsBigProcessLock::Yes) \ + S(gettid, NeedsBigProcessLock::No) \ S(rename, NeedsBigProcessLock::Yes) \ S(ftruncate, NeedsBigProcessLock::Yes) \ S(exit_thread, NeedsBigProcessLock::Yes) \ |