projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e23ee74
)
sched: Refine the code in unthrottle_cfs_rq()
author
Michael Wang
<wangyun@linux.vnet.ibm.com>
Tue, 4 Jun 2013 06:23:39 +0000
(14:23 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 19 Jun 2013 10:58:41 +0000
(12:58 +0200)
Directly use rq to save some code.
Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link:
http://lkml.kernel.org/r/51AD87EB.1070605@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c
patch
|
blob
|
history
diff --git
a/kernel/sched/fair.c
b/kernel/sched/fair.c
index 143dcdbc47af3b6841396df69dba645de05dbf5c..47a30be1fe8335b956763618f4c8dfbbbb93f4ac 100644
(file)
--- a/
kernel/sched/fair.c
+++ b/
kernel/sched/fair.c
@@
-2315,7
+2315,7
@@
void unthrottle_cfs_rq(struct cfs_rq *cfs_rq)
int enqueue = 1;
long task_delta;
- se = cfs_rq->tg->se[cpu_of(rq
_of(cfs_rq)
)];
+ se = cfs_rq->tg->se[cpu_of(rq)];
cfs_rq->throttled = 0;