[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v1 1/4] xen: add real time scheduler rt
Hi Jan, 2014-08-29 5:05 GMT-04:00 Jan Beulich <JBeulich@xxxxxxxx>:
âThank you very much for your questions and suggestions! BTW, the ARINC653 scheduler in Xen also specifies each VCPU's parameters. It's just FYI. :-)
InÂxen/include/public/sysctl.h, it specifies each vcpu's parameter in sched_entries array. /* Â* This structure is used to pass a new ARINC653 schedule from a Â* privileged domain (ie dom0) to Xen. Â*/ struct xen_sysctl_arinc653_schedule {   /* major_frame holds the time for the new schedule's major frame   * in nanoseconds. */   uint64_aligned_t   major_frame;   /* num_sched_entries holds how many of the entries in the   * sched_entries[] array are valid. */   uint8_t   num_sched_entries;   /* The sched_entries array holds the actual schedule entries. */   struct {     /* dom_handle must match a domain's UUID */     xen_domain_handle_t dom_handle;     /* If a domain has multiple VCPUs, vcpu_id specifies which one     * this schedule entry applies to. It should be set to 0 if     * there is only one VCPU for the domain. */     unsigned int vcpu_id;     /* runtime specifies the amount of time that should be allocated     * to this VCPU per major frame. It is specified in nanoseconds */     uint64_aligned_t runtime;   } sched_entries[ARINC653_MAX_DOMAINS_PER_SCHEDULE]; }; Â
âSure! Thanks! Mengâ ----------- Meng Xu PhD Student in Computer and Information Science University of Pennsylvania _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |