1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:58:12 +00:00

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

This commit is contained in:
Lucas CHOLLET 2023-07-03 11:35:46 -04:00 committed by Andreas Kling
parent 00240cb0b3
commit cd0fe4bb48
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ using BlockFlags = Thread::FileBlocker::BlockFlags;
ErrorOr<FlatPtr> Process::sys$poll(Userspace<Syscall::SC_poll_params const*> user_params)
{
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
VERIFY_NO_PROCESS_BIG_LOCK(this);
TRY(require_promise(Pledge::stdio));
auto params = TRY(copy_typed_from_user(user_params));