[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 03/48] xen/sched: build a linked list of struct sched_unit



On Fri, 2019-08-09 at 16:57 +0200, Juergen Gross wrote:
> In order to make it easy to iterate over sched_unit elements of a
> domain, build a single linked list and add an iterator for it. The
> new
> list is guarded by the same mechanisms as the vcpu linked list as it
> is modified only via vcpu_create() or vcpu_destroy().
> 
> For completeness add another iterator for_each_sched_unit_vcpu()
> which
> will iterate over all vcpus of a sched_unit (right now only one).
> This
> will be needed later for larger scheduling granularity (e.g. cores).
> 
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
> ---
> V2:
> - add comment (Dario Faggioli)
>
Reviewed-by: Dario Faggioli <dfaggioli@xxxxxxxx>

Regards
-- 
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.