Kernel: Mark sys$map_time_page 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:
Idan Horowitz 2023-04-04 14:02:39 +03:00
commit 0b14081ae1
Notes: sideshowbarker 2024-07-17 06:35:23 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ namespace Kernel {
ErrorOr<FlatPtr> Process::sys$map_time_page()
{
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
VERIFY_NO_PROCESS_BIG_LOCK(this);
TRY(require_promise(Pledge::stdio));
auto& vmobject = TimeManagement::the().time_page_vmobject();