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/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 0ee2f8a6dc..50f75daa06 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -181,7 +181,7 @@ enum class NeedsBigProcessLock { S(ptrace, NeedsBigProcessLock::Yes) \ S(sendfd, NeedsBigProcessLock::Yes) \ S(recvfd, NeedsBigProcessLock::Yes) \ - S(sysconf, NeedsBigProcessLock::Yes) \ + S(sysconf, NeedsBigProcessLock::No) \ S(set_process_name, NeedsBigProcessLock::Yes) \ S(disown, NeedsBigProcessLock::Yes) \ S(adjtime, NeedsBigProcessLock::Yes) \ -- cgit v1.2.3