Re: [PATCH v2 3/7] xen: cpupool: add a back-pointer from a scheduler to its pool

2020-05-29 Thread Dario Faggioli
On Fri, 2020-05-29 at 16:54 +0200, Jürgen Groß wrote: > On 28.05.20 23:29, Dario Faggioli wrote: > > If we need to know within which pool a particular scheduler > > is working, we can do that by querying the cpupool pointer > > of any of the sched_resource-s (i.e., ~ any of the CPUs) > > assigned

Re: [PATCH v2 3/7] xen: cpupool: add a back-pointer from a scheduler to its pool

2020-05-29 Thread Jürgen Groß
On 28.05.20 23:29, Dario Faggioli wrote: If we need to know within which pool a particular scheduler is working, we can do that by querying the cpupool pointer of any of the sched_resource-s (i.e., ~ any of the CPUs) assigned to the scheduler itself. Basically, we pick any sched_resource that

[PATCH v2 3/7] xen: cpupool: add a back-pointer from a scheduler to its pool

2020-05-28 Thread Dario Faggioli
If we need to know within which pool a particular scheduler is working, we can do that by querying the cpupool pointer of any of the sched_resource-s (i.e., ~ any of the CPUs) assigned to the scheduler itself. Basically, we pick any sched_resource that we know uses that scheduler, and we check