Re: Re: [Xen-devel] [PATCH] sched/core: Fix bug when moving a domain between cpupools

2020-04-20 Thread Jeff Kubascik
Thank you Juergen and Dario! On 4/16/2020 12:09 PM, Dario Faggioli wrote: > On Wed, 2020-04-15 at 11:08 +0200, Jürgen Groß wrote: >> On 27.03.20 20:30, Jeff Kubascik wrote: >>> For each UNIT, sched_set_affinity is called before unit->priv is >>> updated >>> to the new cpupool private UNIT data str

Re: [Xen-devel] [PATCH] sched/core: Fix bug when moving a domain between cpupools

2020-04-16 Thread Dario Faggioli
On Wed, 2020-04-15 at 11:08 +0200, Jürgen Groß wrote: > On 27.03.20 20:30, Jeff Kubascik wrote: > > For each UNIT, sched_set_affinity is called before unit->priv is > > updated > > to the new cpupool private UNIT data structure. The issue is > > sched_set_affinity will call the adjust_affinity meth

Re: [Xen-devel] [PATCH] sched/core: Fix bug when moving a domain between cpupools

2020-04-15 Thread Jürgen Groß
On 27.03.20 20:30, Jeff Kubascik wrote: For each UNIT, sched_set_affinity is called before unit->priv is updated to the new cpupool private UNIT data structure. The issue is sched_set_affinity will call the adjust_affinity method of the cpupool. If defined, the new cpupool may use unit->priv (e.g