Correction!

MAEDA Naoaki wrote:

-------------------------------------------------------------------------
This patch glues f series ckrm core with cpu_rc written by KUROSAWA Takahiro
<[EMAIL PROTECTED]>.

Signed-off-by: MAEDA Naoaki <[EMAIL PROTECTED]>

 kernel/cpu_rc.c |  251 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 251 insertions(+)

Index: linux-2.6.13/kernel/cpu_rc.c
===================================================================
--- linux-2.6.13.orig/kernel/cpu_rc.c
+++ linux-2.6.13/kernel/cpu_rc.c
@@ -228,6 +228,257 @@ void cpu_rc_collect_hunger(task_t *tsk)
        tsk->last_activated = 0;
 }
+
+#include <linux/ckrm_rc.h>
+
+struct ckrm_cpu {
+       struct ckrm_class *class;       /* the class I belong to */
+       struct ckrm_class *parent;      /* parent of the class above. */
+       struct ckrm_shares shares;
+       spinlock_t cnt_lock;    /* always grab parent's lock before child's */
+       struct cpu_rc   cpu_rc; /* cpu resource controller */
+       int     cnt_total_guarantee;    /* total guarantee behind the class */
+};
+
+static struct cpu_rc_domain grcd; /* system wide resource controller domain */
+extern struct ckrm_res_ctlr rcbs; /* resource controller callback structure */

The above line should be "static struct ckrm_res_ctlr rcbs ....".

Thanks,
MAEDA Naoaki




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to