mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +00:00
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.
This commit is contained in:
parent
638598b15d
commit
5c10fb4007
Notes:
sideshowbarker
2024-07-18 08:42:31 +09:00
Author: https://github.com/bgianfo
Commit: 5c10fb4007
Pull-request: https://github.com/SerenityOS/serenity/pull/8864
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/gunnarbeutner ✅
Reviewed-by: https://github.com/tomuta ✅
2 changed files with 2 additions and 2 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue