From 6354a9a0303af2f8ece388c72907bbeb89196723 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 7 Mar 2022 21:38:10 +0100 Subject: 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. --- Kernel/API/Syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/API/Syscall.h') 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) \ -- cgit v1.2.3