mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
Kernel: Disable big process lock for sys$clock_nanosleep
This syscall doesn't touch any intra-process shared resources and only accesses the time via the atomic TimeManagement::current_time so there's no need to hold the big lock.
This commit is contained in:
parent
fbd848e6eb
commit
3ba2449058
Notes:
sideshowbarker
2024-07-18 07:23:33 +09:00
Author: https://github.com/IdanHo
Commit: 3ba2449058
Pull-request: https://github.com/SerenityOS/serenity/pull/9236
Reviewed-by: https://github.com/tomuta ✅
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ enum class NeedsBigProcessLock {
|
|||
S(setkeymap, NeedsBigProcessLock::Yes) \
|
||||
S(clock_gettime, NeedsBigProcessLock::No) \
|
||||
S(clock_settime, NeedsBigProcessLock::Yes) \
|
||||
S(clock_nanosleep, NeedsBigProcessLock::Yes) \
|
||||
S(clock_nanosleep, NeedsBigProcessLock::No) \
|
||||
S(join_thread, NeedsBigProcessLock::Yes) \
|
||||
S(module_load, NeedsBigProcessLock::Yes) \
|
||||
S(module_unload, NeedsBigProcessLock::Yes) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue