0004-kvm-disable-default-dynamic-halt-polling-growth.patch 989 B

123456789101112131415161718192021222324252627
  1. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <[email protected]>
  3. Date: Thu, 14 Sep 2017 11:09:58 +0200
  4. Subject: [PATCH] kvm: disable default dynamic halt polling growth
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Fabian Grünbichler <[email protected]>
  9. Signed-off-by: Thomas Lamprecht <[email protected]>
  10. ---
  11. virt/kvm/kvm_main.c | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
  14. index fab4d3790578..adae153354c2 100644
  15. --- a/virt/kvm/kvm_main.c
  16. +++ b/virt/kvm/kvm_main.c
  17. @@ -79,7 +79,7 @@ module_param(halt_poll_ns, uint, 0644);
  18. EXPORT_SYMBOL_GPL(halt_poll_ns);
  19. /* Default doubles per-vcpu halt_poll_ns. */
  20. -unsigned int halt_poll_ns_grow = 2;
  21. +unsigned int halt_poll_ns_grow = 0;
  22. module_param(halt_poll_ns_grow, uint, 0644);
  23. EXPORT_SYMBOL_GPL(halt_poll_ns_grow);