mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Kernel: Mark sys$munmap as not needing the big lock
All accesses to shared mutable data are already serialized behind the process address space spinlock.
This commit is contained in:
parent
d1082a00b7
commit
db10f201c8
Notes:
sideshowbarker
2024-07-17 22:55:25 +09:00
Author: https://github.com/IdanHo
Commit: db10f201c8
Pull-request: https://github.com/SerenityOS/serenity/pull/18178
Reviewed-by: https://github.com/awesomekling ✅
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ enum class NeedsBigProcessLock {
|
|||
S(mprotect, NeedsBigProcessLock::No) \
|
||||
S(mremap, NeedsBigProcessLock::Yes) \
|
||||
S(msync, NeedsBigProcessLock::Yes) \
|
||||
S(munmap, NeedsBigProcessLock::Yes) \
|
||||
S(munmap, NeedsBigProcessLock::No) \
|
||||
S(open, NeedsBigProcessLock::No) \
|
||||
S(perf_event, NeedsBigProcessLock::Yes) \
|
||||
S(perf_register_string, NeedsBigProcessLock::Yes) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue