On 04.03.20 10:53, Jan Beulich wrote:
On 03.03.2020 18:39, Juergen Gross wrote:
--- a/xen/common/sched/core.c
+++ b/xen/common/sched/core.c
@@ -2299,6 +2299,10 @@ void sched_context_switched(struct vcpu *vprev, struct
vcpu *vnext)
rcu_read_unlock(&sched_res_rculock);
}
+/*
+ * Switc
On 03.03.2020 18:39, Juergen Gross wrote:
> --- a/xen/common/sched/core.c
> +++ b/xen/common/sched/core.c
> @@ -2299,6 +2299,10 @@ void sched_context_switched(struct vcpu *vprev, struct
> vcpu *vnext)
> rcu_read_unlock(&sched_res_rculock);
> }
>
> +/*
> + * Switch to a new context or keep
Offlining a cpu with core scheduling active can result in a hanging
system. Reason is the scheduling resource and unit of the to be removed
cpus needs to be split in order to remove the cpu from its cpupool and
move it to the idle scheduler. In case one of the involved cpus happens
to have received