[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 2/2] xen: merge temporary vcpu pinning scenarios
On 23.07.19 20:53, Andrew Cooper wrote: On 23/07/2019 19:25, Juergen Gross wrote:diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 349f9624f5..508176a142 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -1106,43 +1106,59 @@ void watchdog_domain_destroy(struct domain *d) kill_timer(&d->watchdog_timer[i]); }-int vcpu_pin_override(struct vcpu *v, int cpu)+/* + * Pin a vcpu temporarily to a specific CPU (or restore old pinning state if + * cpu is NR_CPUS). + * Temporary pinning can be done due to two reasons, which may be nested: + * - VCPU_AFFINITY_OVERRIDE (requested by guest): is allowed to fail in case + * of a conflict (e.g. in case cpupool doesn't include requested CPU, or + * another conflicting temporary pinning is already in effect. + * - VCPU_AFFINITY_WAIT (called by wait_event(): only used to pin vcpu to theNeed an extra ) Yes. Otherwise, Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Thanks, Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |