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
commit 55814f6e0e
Notes: sideshowbarker 2024-07-17 14:29:11 +09:00
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) \