[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 04/48] xen/sched: introduce struct sched_resource
On 04.09.19 15:10, Jan Beulich wrote: On 09.08.2019 16:57, Juergen Gross wrote:--- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -273,11 +273,14 @@ struct vcpu struct arch_vcpu arch; };+struct sched_resource;As mentioned elsewhere, I don't think you need this when the first reference is ...struct sched_unit { struct domain *domain; struct vcpu *vcpu_list; void *priv; /* scheduler private data */ struct sched_unit *next_in_list; + struct sched_resource *res;... like this. (Or else you couldn't use struct sched_unit here either, for still being an incomplete type at the point of the first reference to it.) Indeed. Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |