]> xenbits.xensource.com Git - people/royger/xen.git/commit
x86/viridian: make the threshold for HvNotifyLongSpinWait tunable
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 23 Mar 2017 14:51:45 +0000 (15:51 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 Mar 2017 14:51:45 +0000 (15:51 +0100)
commitbf13fe76c5bc8d4a9570aa0a8eb168cfe7fbe8d5
tree58d426cb3d0dd2f7173af836aa63f18f93719180
parent422db534e80869aef8a89e220604c17ae4bea8a0
x86/viridian: make the threshold for HvNotifyLongSpinWait tunable

The current threshold before the guest issues the hypercall is, and always
has been, hard-coded to 2047. It is not clear where this number came
from so, to at least allow for ease of experimentation, this patch makes
the threshold tunable via the Xen command line.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.markdown
xen/arch/x86/hvm/viridian.c