1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +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:
Andreas Kling 2023-04-03 17:29:14 +02:00
parent b98f537f11
commit 5bc7882b68
3 changed files with 9 additions and 7 deletions

View file

@ -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) \