|
@@ -3752,6 +3752,8 @@ void set_user_nice(struct task_struct *p, long nice)
|
|
* the task might be in the middle of scheduling on another CPU.
|
|
* the task might be in the middle of scheduling on another CPU.
|
|
*/
|
|
*/
|
|
rq = task_rq_lock(p, &rf);
|
|
rq = task_rq_lock(p, &rf);
|
|
|
|
+ update_rq_clock(rq);
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* The RT priorities are set via sched_setscheduler(), but we still
|
|
* The RT priorities are set via sched_setscheduler(), but we still
|
|
* allow the 'normal' nice value to be set - but as expected
|
|
* allow the 'normal' nice value to be set - but as expected
|