diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-08-06 15:27:03 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-06 23:36:12 +0200 |
commit | ad419a669d1fd71781680246463d9018814997e2 (patch) | |
tree | de0e0cd051adb7f7883e0312b71788945ec2e78b /Kernel/Syscalls | |
parent | efeb01e35fccc6ecc0ce0d6c33102dd5379ddf0f (diff) | |
download | serenity-ad419a669d1fd71781680246463d9018814997e2.zip |
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.
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r-- | Kernel/Syscalls/sysconf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<FlatPtr> 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; |