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 to the scheduler itself. > > > > Basically, we pick any sched_resource that we know uses that > > scheduler, and we check its *cpupool pointer. If we really > > know that the resource uses the scheduler, this is fine, as > > it also means the resource is inside the pool we are > > looking for. > > > > But, of course, we can do that for a pool/scheduler that has > > s/can/can't/ ? > And I even wrote "of course"... :-/ Yes, _of_course_, I meant can't. :-) > Reviewed-by: Juergen Gross > Thanks and Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere)