diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-08-07 16:06:07 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-07 15:30:26 +0200 |
commit | 9d21c796712d4e1b22e62f79af0a63be166912ab (patch) | |
tree | 2693b24590d7826fd3503c80b779b4c06559999b /Kernel/Syscalls/sync.cpp | |
parent | 0d468f2282c1801cca04c9c81ffecaf170934a2c (diff) | |
download | serenity-9d21c796712d4e1b22e62f79af0a63be166912ab.zip |
Kernel: Disable big process lock for sys$sync
This syscall doesn't touch any intra-process shared resources and only
calls VirtualFileSystem::sync, which is self-locking.
Diffstat (limited to 'Kernel/Syscalls/sync.cpp')
-rw-r--r-- | Kernel/Syscalls/sync.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/sync.cpp b/Kernel/Syscalls/sync.cpp index 22174843f0..0e369e6ff8 100644 --- a/Kernel/Syscalls/sync.cpp +++ b/Kernel/Syscalls/sync.cpp @@ -11,7 +11,7 @@ namespace Kernel { KResultOr<FlatPtr> Process::sys$sync() { - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this) + VERIFY_NO_PROCESS_BIG_LOCK(this) REQUIRE_PROMISE(stdio); VirtualFileSystem::sync(); return 0; |