File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Documentation/admin-guide Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 5712
5712
panic() code such as dumping handler.
5713
5713
5714
5714
xen_nopvspin [X86,XEN]
5715
- Disables the ticketlock slowpath using Xen PV
5716
- optimizations.
5715
+ Disables the qspinlock slowpath using Xen PV optimizations.
5716
+ This parameter is obsoleted by "nopvspin" parameter, which
5717
+ has equivalent effect for XEN platform.
5717
5718
5718
5719
xen_nopv [X86]
5719
5720
Disables the PV optimizations forcing the HVM guest to
5739
5740
as generic guest with no PV drivers. Currently support
5740
5741
XEN HVM, KVM, HYPER_V and VMWARE guest.
5741
5742
5742
- nopvspin [X86,KVM]
5743
+ nopvspin [X86,XEN, KVM]
5743
5744
Disables the qspinlock slow path using PV optimizations
5744
5745
which allow the hypervisor to 'idle' the guest on lock
5745
5746
contention.
Original file line number Diff line number Diff line change @@ -114,9 +114,8 @@ PV_CALLEE_SAVE_REGS_THUNK(xen_vcpu_stolen);
114
114
*/
115
115
void __init xen_init_spinlocks (void )
116
116
{
117
-
118
117
/* Don't need to use pvqspinlock code if there is only 1 vCPU. */
119
- if (num_possible_cpus () == 1 )
118
+ if (num_possible_cpus () == 1 || nopvspin )
120
119
xen_pvspin = false;
121
120
122
121
if (!xen_pvspin ) {
@@ -137,6 +136,7 @@ void __init xen_init_spinlocks(void)
137
136
138
137
static __init int xen_parse_nopvspin (char * arg )
139
138
{
139
+ pr_notice ("\"xen_nopvspin\" is deprecated, please use \"nopvspin\" instead\n" );
140
140
xen_pvspin = false;
141
141
return 0 ;
142
142
}
You can’t perform that action at this time.
0 commit comments