1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-29 03:52:12 +00:00

Kernel: Mark sys$open as not needing the big lock

All the individual sub-operations of this syscall are protected by their
own locking mechanisms, so it should be okay to get it off the big lock.
This commit is contained in:
Andreas Kling 2023-04-03 16:00:17 +02:00
parent 97ac4601f5
commit a7212a7488
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@ enum class NeedsBigProcessLock {
S(mremap, NeedsBigProcessLock::Yes) \
S(msync, NeedsBigProcessLock::Yes) \
S(munmap, NeedsBigProcessLock::Yes) \
S(open, NeedsBigProcessLock::Yes) \
S(open, NeedsBigProcessLock::No) \
S(perf_event, NeedsBigProcessLock::Yes) \
S(perf_register_string, NeedsBigProcessLock::Yes) \
S(pipe, NeedsBigProcessLock::No) \