sched: kernel/sched_fair.c whitespace cleanups
some trivial whitespace cleanups. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
c86da3a3d4
commit
edcb60a309
|
@ -476,8 +476,8 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
|
||||||
int wakeup, int set_curr)
|
int wakeup, int set_curr)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* In case of the 'current'.
|
* In case of the 'current'.
|
||||||
*/
|
*/
|
||||||
if (unlikely(set_curr)) {
|
if (unlikely(set_curr)) {
|
||||||
update_stats_curr_start(cfs_rq, se);
|
update_stats_curr_start(cfs_rq, se);
|
||||||
cfs_rq->curr = se;
|
cfs_rq->curr = se;
|
||||||
|
@ -992,9 +992,9 @@ static void task_new_fair(struct rq *rq, struct task_struct *p)
|
||||||
if (sysctl_sched_child_runs_first &&
|
if (sysctl_sched_child_runs_first &&
|
||||||
curr->vruntime < se->vruntime) {
|
curr->vruntime < se->vruntime) {
|
||||||
/*
|
/*
|
||||||
* Upon rescheduling, sched_class::put_prev_task() will place
|
* Upon rescheduling, sched_class::put_prev_task() will place
|
||||||
* 'current' within the tree based on its new key value.
|
* 'current' within the tree based on its new key value.
|
||||||
*/
|
*/
|
||||||
swap(curr->vruntime, se->vruntime);
|
swap(curr->vruntime, se->vruntime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue