The reason is that the policy and priority in phase 2 are not set. Therefore, the internal special values THREAD_PRIORITY_UNCHANGED for priority and same for policy will be passed to the sched_setattr() call used for uclamp. Since they are not valid, the kernel rejects them.
The following JSON currently fails in the sched_setattr() syscall for uclamp:
The reason is that the policy and priority in phase 2 are not set. Therefore, the internal special values
THREAD_PRIORITY_UNCHANGED
for priority andsame
for policy will be passed to the sched_setattr() call used for uclamp. Since they are not valid, the kernel rejects them.