Re: [PATCH v2] xen/sched: fix error handling in cpu_schedule_up()

2024-06-26 Thread Jürgen Groß
On 26.06.24 11:02, Jan Beulich wrote: On 26.06.2024 07:54, Juergen Gross wrote: In case cpu_schedule_up() is failing, it needs to undo all externally visible changes it has done before. Reason is that cpu_schedule_callback() won't be called with the CPU_UP_CANCELED notifier in case cpu_schedule

Re: [PATCH v2] xen/sched: fix error handling in cpu_schedule_up()

2024-06-26 Thread Jan Beulich
On 26.06.2024 07:54, Juergen Gross wrote: > In case cpu_schedule_up() is failing, it needs to undo all externally > visible changes it has done before. > > Reason is that cpu_schedule_callback() won't be called with the > CPU_UP_CANCELED notifier in case cpu_schedule_up() did fail. > > Reported-b

[PATCH v2] xen/sched: fix error handling in cpu_schedule_up()

2024-06-25 Thread Juergen Gross
In case cpu_schedule_up() is failing, it needs to undo all externally visible changes it has done before. Reason is that cpu_schedule_callback() won't be called with the CPU_UP_CANCELED notifier in case cpu_schedule_up() did fail. Reported-by: Jan Beulich Fixes: 207589dbacd4 ("xen/sched: move pe