Disabled surplus allocation feature of the CKRM cpu scheduler.
authorMarc Fiuczynski <mef@cs.princeton.edu>
Sat, 23 Oct 2004 20:13:55 +0000 (20:13 +0000)
committerMarc 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

index 259b9c9..5095c1c 100644 (file)
@@ -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();