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:
4924141
)
Disabled surplus allocation feature of the CKRM cpu scheduler.
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Sat, 23 Oct 2004 20:13:55 +0000
(20:13 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Sat, 23 Oct 2004 20:13:55 +0000
(20:13 +0000)
See PL2642 for further details.
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
259b9c9
..
5095c1c
100644
(file)
--- a/
kernel/ckrm/ckrm_cpu_monitor.c
+++ b/
kernel/ckrm/ckrm_cpu_monitor.c
@@
-929,8
+929,12
@@
void ckrm_cpu_monitor(int check_min)
if (update_max_demand(root_core) != 0)
goto outunlock;
+#ifndef ALLOC_SURPLUS_SUPPORT
+#warning "MEF taking out alloc_surplus"
+#else
if (alloc_surplus(root_core) != 0)
goto outunlock;
+#endif
adjust_local_weight();