git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7b5045
)
- back out revision 1.9.2.1, possibly causing divide-by-zero errors
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 11 Feb 2005 16:32:11 +0000
(16:32 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 11 Feb 2005 16:32:11 +0000
(16:32 +0000)
kernel/ckrm/ckrm_cpu_monitor.c
patch
|
blob
|
history
diff --git
a/kernel/ckrm/ckrm_cpu_monitor.c
b/kernel/ckrm/ckrm_cpu_monitor.c
index
2295c74
..
d8c199a
100644
(file)
--- a/
kernel/ckrm/ckrm_cpu_monitor.c
+++ b/
kernel/ckrm/ckrm_cpu_monitor.c
@@
-838,12
+838,8
@@
static void adjust_lrq_weight(struct ckrm_cpu_class *clsptr, int cpu_online)
total_pressure += lrq->lrq_load;
}
-#if 1
-#warning "ACB taking out suspicious early return"
-#else
if (! total_pressure)
return;
-#endif
class_weight = cpu_class_weight(clsptr) * cpu_online;