mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 13:30:31 +00:00
Kernel: Mark sys$poll as not needing the big lock
This commit is contained in:
parent
00240cb0b3
commit
cd0fe4bb48
Notes:
sideshowbarker
2024-07-16 17:05:37 +09:00
Author: https://github.com/LucasChollet Commit: https://github.com/SerenityOS/serenity/commit/cd0fe4bb48 Pull-request: https://github.com/SerenityOS/serenity/pull/19773
2 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ enum class NeedsBigProcessLock {
|
|||
S(perf_register_string, NeedsBigProcessLock::Yes) \
|
||||
S(pipe, NeedsBigProcessLock::No) \
|
||||
S(pledge, NeedsBigProcessLock::No) \
|
||||
S(poll, NeedsBigProcessLock::Yes) \
|
||||
S(poll, NeedsBigProcessLock::No) \
|
||||
S(posix_fallocate, NeedsBigProcessLock::No) \
|
||||
S(prctl, NeedsBigProcessLock::No) \
|
||||
S(profiling_disable, NeedsBigProcessLock::Yes) \
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue