diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-07 21:38:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-08 00:19:49 +0100 |
commit | 6354a9a0303af2f8ece388c72907bbeb89196723 (patch) | |
tree | 3b5d42ded05a6f5b72cb3af5b5753402084e86d2 /Kernel/API | |
parent | ef45ff47032af1d4cc4c84f63c88155b5d5fe18b (diff) | |
download | serenity-6354a9a0303af2f8ece388c72907bbeb89196723.zip |
Kernel: Mark sys$fsync() as not needing the big lock
This syscall doesn't access any data that was implicitly protected by
the big lock.
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/Syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index 2fb5c580cc..9ef87ca331 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -78,7 +78,7 @@ enum class NeedsBigProcessLock { S(fork, NeedsBigProcessLock::Yes) \ S(fstat, NeedsBigProcessLock::No) \ S(fstatvfs, NeedsBigProcessLock::Yes) \ - S(fsync, NeedsBigProcessLock::Yes) \ + S(fsync, NeedsBigProcessLock::No) \ S(ftruncate, NeedsBigProcessLock::Yes) \ S(futex, NeedsBigProcessLock::Yes) \ S(get_dir_entries, NeedsBigProcessLock::Yes) \ |