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

Kernel: Mark sys$sched_{set,get}param() as not needing the big lock

Both of these syscalls take the scheduler lock while accessing the
thread priority, so there's no reliance on the process big lock.
This commit is contained in:
Andreas Kling 2022-04-04 00:09:54 +02:00
parent 9250ac0c24
commit 55814f6e0e
2 changed files with 4 additions and 4 deletions

View file

@ -144,8 +144,8 @@ enum class NeedsBigProcessLock {
S(recvmsg, NeedsBigProcessLock::Yes) \
S(rename, NeedsBigProcessLock::Yes) \
S(rmdir, NeedsBigProcessLock::Yes) \
S(sched_getparam, NeedsBigProcessLock::Yes) \
S(sched_setparam, NeedsBigProcessLock::Yes) \
S(sched_getparam, NeedsBigProcessLock::No) \
S(sched_setparam, NeedsBigProcessLock::No) \
S(sendfd, NeedsBigProcessLock::No) \
S(sendmsg, NeedsBigProcessLock::Yes) \
S(set_coredump_metadata, NeedsBigProcessLock::Yes) \