mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
Kernel: Mark sys$getpgrp as not needing the big lock
Access to the process's process group is already serialized by SpinlockProtected.
This commit is contained in:
parent
2ddd69260c
commit
1382439267
Notes:
sideshowbarker
2024-07-17 07:16:27 +09:00
Author: https://github.com/awesomekling
Commit: 1382439267
Pull-request: https://github.com/SerenityOS/serenity/pull/18163
Reviewed-by: https://github.com/Hendiadyoin1
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ ErrorOr<FlatPtr> Process::sys$getpgid(pid_t pid)
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$getpgrp()
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this);
|
||||
TRY(require_promise(Pledge::stdio));
|
||||
return pgid().value();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue