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
commit 46ab245e74
Notes: sideshowbarker 2024-07-16 22:14:49 +09:00
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 {};