Zhenzhong Duan<zhenzhong.duan@xxxxxxxxxx> writes:
There are cases where a guest tries to switch spinlocks to bare metalAny reason to not do it right now? We will probably need to have compat
behavior (e.g. by setting "xen_nopvspin" on XEN platform and
"hv_nopvspin" on HYPER_V).
That feature is missed on KVM, add a new parameter "nopvspin" to disable
PV spinlocks for KVM guest.
This new parameter is also intended to replace "xen_nopvspin" and
"hv_nopvspin" in the future.
code to support xen_nopvspin/hv_nopvspin too but emit a 'is deprecated'
warning.
The global variable pvspin isn't defined as __initdata as it's used atPlease do it in a separate patch.
runtime by XEN guest.
Refactor the print stuff with pr_* which is preferred.