xen/sched: use sched_resource cpu instead smp_processor_id in schedulers
Quoted 14 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 30.03.19 at 11:22, <[email protected]> wrote:
Quoted 6 lines · Andrew Cooper
In practice, all this flag does is permit the use of
VCPUOP_get_physid, disallow the use ofvcpu_set_hard_affinity(), and allow dom0 to attempt to actually write toMSR_AMD64_NB_CFG,MSR_FAM10H_MMIO_CONF_BASE,MSR_IA32_UCODE_REV,MSR_IA32_THERM_CONTROLandMSR_IA32_ENERGY_PERF_BIAS, rather than having the write silently discarded.Quoted 5 lines
Quoted 3 lines
Dom0's use of those MSRs is dubious at best, and disabled by default, *and* when active, also cross-checks with the hard affinity mask. Does anyone use
dom0_vcpus_pinin production?I have seen it on customer systems.
Quoted 8 lines
Same here, but I've never seen it used for a good reason.
Quoted 3 lines
Quoted 3 lines
I think there is quite a lot of value in getting rid of
d->is_pinnedandis_pinned_vcpu()entirely, with will remove an extreme corner-case-x86-ism out of the common code.I think its origin was "cpufreq=dom0-kernel", which I think should go away with it then.
Fine with me. Another candidate for a later cleanup, I guess.
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel