[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 2/2] xen: merge temporary vcpu pinning scenarios
On Wed, 2019-07-24 at 13:26 +0200, Juergen Gross wrote: > Today there are two scenarios which are pinning vcpus temporarily to > a single physical cpu: > > - wait_event() handling > - SCHEDOP_pin_override handling > > Each of those cases are handled independently today using their own > temporary cpumask to save the old affinity settings. > > The two cases can be combined as the first case will only pin a vcpu > to > the physical cpu it is already running on, while SCHEDOP_pin_override > is > allowed to fail. > > So merge the two temporary pinning scenarios by only using one > cpumask > and a per-vcpu bitmask for specifying which of the scenarios is > currently active (they are both allowed to be active for the same > vcpu). > > Note that we don't need to call domain_update_node_affinity() as we > are only pinning for a brief period of time. > > Signed-off-by: Juergen Gross <jgross@xxxxxxxx> > Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> > Reviewed-by: Dario Faggioli <dfaggioli@xxxxxxxx> Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <<This happens because _I_ choose it to happen!>> (Raistlin Majere) Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |