From ad419a669d1fd71781680246463d9018814997e2 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Fri, 6 Aug 2021 15:27:03 +0300 Subject: Kernel: Disable big process lock for sys$sysconf This syscall only reads constant kernel globals, and as such does not need to hold the big lock. --- Kernel/Syscalls/sysconf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Syscalls') diff --git a/Kernel/Syscalls/sysconf.cpp b/Kernel/Syscalls/sysconf.cpp index 932d4ae4e3..e898d74dfd 100644 --- a/Kernel/Syscalls/sysconf.cpp +++ b/Kernel/Syscalls/sysconf.cpp @@ -11,7 +11,7 @@ namespace Kernel { KResultOr Process::sys$sysconf(int name) { - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this) + VERIFY_NO_PROCESS_BIG_LOCK(this) switch (name) { case _SC_MONOTONIC_CLOCK: return 1; -- cgit v1.2.3