Re: [PATCH v2 2/3] xen/sched: fix sched_move_domain()

2023-12-07 Thread George Dunlap
On Mon, Dec 4, 2023 at 4:56 PM Jan Beulich wrote: > > On 04.12.2023 16:23, Juergen Gross wrote: > > Do cleanup in sched_move_domain() in a dedicated service function, > > which is called either in error case with newly allocated data, or in > > success case with the old data to be freed. > > > >

Re: [PATCH v2 2/3] xen/sched: fix sched_move_domain()

2023-12-04 Thread Jan Beulich
On 04.12.2023 16:23, Juergen Gross wrote: > Do cleanup in sched_move_domain() in a dedicated service function, > which is called either in error case with newly allocated data, or in > success case with the old data to be freed. > > This will at once fix some subtle bugs which sneaked in due to >

[PATCH v2 2/3] xen/sched: fix sched_move_domain()

2023-12-04 Thread Juergen Gross
Do cleanup in sched_move_domain() in a dedicated service function, which is called either in error case with newly allocated data, or in success case with the old data to be freed. This will at once fix some subtle bugs which sneaked in due to forgetting to overwrite some pointers in the error