We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bed5e2 commit 2fb8d36Copy full SHA for 2fb8d36
kernel/sched/core.c
@@ -3752,6 +3752,8 @@ void set_user_nice(struct task_struct *p, long nice)
3752
* the task might be in the middle of scheduling on another CPU.
3753
*/
3754
rq = task_rq_lock(p, &rf);
3755
+ update_rq_clock(rq);
3756
+
3757
/*
3758
* The RT priorities are set via sched_setscheduler(), but we still
3759
* allow the 'normal' nice value to be set - but as expected
0 commit comments