mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
Kernel: Make sys$times not use the big lock
...and also make the Process tick counters clock_t instead of u32. It seems harmless to get interrupted in the middle of reading these counters and reporting slightly fewer ticks in some category.
This commit is contained in:
parent
b98f537f11
commit
5bc7882b68
Notes:
sideshowbarker
2024-07-17 07:48:42 +09:00
Author: https://github.com/awesomekling
Commit: 5bc7882b68
Pull-request: https://github.com/SerenityOS/serenity/pull/18163
Reviewed-by: https://github.com/Hendiadyoin1
3 changed files with 9 additions and 7 deletions
|
@ -188,7 +188,7 @@ enum class NeedsBigProcessLock {
|
|||
S(symlink, NeedsBigProcessLock::No) \
|
||||
S(sync, NeedsBigProcessLock::No) \
|
||||
S(sysconf, NeedsBigProcessLock::No) \
|
||||
S(times, NeedsBigProcessLock::Yes) \
|
||||
S(times, NeedsBigProcessLock::No) \
|
||||
S(umask, NeedsBigProcessLock::No) \
|
||||
S(umount, NeedsBigProcessLock::Yes) \
|
||||
S(uname, NeedsBigProcessLock::No) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue