1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

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

Same deal as sys$times, nothing here that needs locking at the moment.
This commit is contained in:
Andreas Kling 2023-04-03 18:29:13 +02:00
parent 3371165588
commit 46ab245e74
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ namespace Kernel {
ErrorOr<FlatPtr> Process::sys$getrusage(int who, Userspace<rusage*> user_usage)
{
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
VERIFY_NO_PROCESS_BIG_LOCK(this);
rusage usage {};