mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 10:18:51 +00:00
Kernel: Disable big process lock for sys$gettimeofday
This syscall doesn't touch any intra-process shared resources and only accesses the time via the atomic TimeManagement::now so there's no need to hold the big lock.
This commit is contained in:
parent
3ba2449058
commit
d40038a04f
Notes:
sideshowbarker
2024-07-18 07:23:29 +09:00
Author: https://github.com/IdanHo
Commit: d40038a04f
Pull-request: https://github.com/SerenityOS/serenity/pull/9236
Reviewed-by: https://github.com/tomuta ✅
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ enum class NeedsBigProcessLock {
|
|||
S(munmap, NeedsBigProcessLock::Yes) \
|
||||
S(get_dir_entries, NeedsBigProcessLock::Yes) \
|
||||
S(getcwd, NeedsBigProcessLock::Yes) \
|
||||
S(gettimeofday, NeedsBigProcessLock::Yes) \
|
||||
S(gettimeofday, NeedsBigProcessLock::No) \
|
||||
S(gethostname, NeedsBigProcessLock::No) \
|
||||
S(sethostname, NeedsBigProcessLock::No) \
|
||||
S(chdir, NeedsBigProcessLock::Yes) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue