]> git.proxmox.com Git - pve-kernel-jessie.git/blobdiff - kvm-dynamic-halt-polling-disable-default.patch
refresh patches for 4.10
[pve-kernel-jessie.git] / kvm-dynamic-halt-polling-disable-default.patch
index dcf1deed14eb4b0168a9abc1a8b5b65393d7f306..b6928ee89e3221bf8a23dea0dce55d76ffcf40c0 100644 (file)
@@ -1,12 +1,12 @@
 diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
 --- a/virt/kvm/kvm_main.c 2016-05-12 10:39:37.540387127 +0200
 +++ b/virt/kvm/kvm_main.c 2016-05-04 10:43:38.063996221 +0200
-@@ -71,7 +71,7 @@ static unsigned int halt_poll_ns = KVM_H
module_param(halt_poll_ns, uint, S_IRUGO | S_IWUSR);
-
+@@ -75,7 +75,7 @@ static unsigned int halt_poll_ns = KVM_H
EXPORT_SYMBOL_GPL(halt_poll_ns);
  /* Default doubles per-vcpu halt_poll_ns. */
--static unsigned int halt_poll_ns_grow = 2;
-+static unsigned int halt_poll_ns_grow = 0;
- module_param(halt_poll_ns_grow, int, S_IRUGO);
-
- /* Default resets per-vcpu halt_poll_ns . */
+-unsigned int halt_poll_ns_grow = 2;
++unsigned int halt_poll_ns_grow = 0;
+ module_param(halt_poll_ns_grow, uint, S_IRUGO | S_IWUSR);
+ EXPORT_SYMBOL_GPL(halt_poll_ns_grow);