From e055bd9a38845a82a555a22af617d0ed0494e700 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Sat, 23 Oct 2004 20:13:55 +0000 Subject: [PATCH] Disabled surplus allocation feature of the CKRM cpu scheduler. See PL2642 for further details. --- kernel/ckrm/ckrm_cpu_monitor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/ckrm/ckrm_cpu_monitor.c b/kernel/ckrm/ckrm_cpu_monitor.c index 259b9c9bb..5095c1c30 100644 --- 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(); -- 2.47.0