aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/sched-if.h
diff options
context:
space:
mode:
authorack@kneesa.uk.xensource.com <ack@kneesa.uk.xensource.com>2006-05-26 11:14:36 +0100
committerack@kneesa.uk.xensource.com <ack@kneesa.uk.xensource.com>2006-05-26 11:14:36 +0100
commit46ecd270567816a478f639058a450bb6b4ae0552 (patch)
tree148d942fa06e721e6a47ba477599a877443a2f06 /xen/include/xen/sched-if.h
parent9acd07250181fa24f1bc4a4679c1ee7a52def2a5 (diff)
downloadxen-46ecd270567816a478f639058a450bb6b4ae0552.tar.gz
xen-46ecd270567816a478f639058a450bb6b4ae0552.tar.bz2
xen-46ecd270567816a478f639058a450bb6b4ae0552.zip
New weighted fair-share CPU scheduler w/ automatic SMP load balancing
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
Diffstat (limited to 'xen/include/xen/sched-if.h')
-rw-r--r--xen/include/xen/sched-if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h
index 0317d9433f..4c8232a13b 100644
--- a/xen/include/xen/sched-if.h
+++ b/xen/include/xen/sched-if.h
@@ -58,6 +58,8 @@ struct scheduler {
char *opt_name; /* option name for this scheduler */
unsigned int sched_id; /* ID for this scheduler */
+ void (*init) (void);
+ void (*tick) (unsigned int cpu);
int (*alloc_task) (struct vcpu *);
void (*add_task) (struct vcpu *);
void (*free_task) (struct domain *);