Skip to content

Commit 44024ad

Browse files
committed
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull KVM fixes from Paolo Bonzini: "Bugfixes and improvements to selftests. On top of this, Mauro converted the KVM documentation to rst format, which was very welcome" * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (44 commits) docs: virt: guest-halt-polling.txt convert to ReST docs: kvm: review-checklist.txt: rename to ReST docs: kvm: Convert timekeeping.txt to ReST format docs: kvm: Convert s390-diag.txt to ReST format docs: kvm: Convert ppc-pv.txt to ReST format docs: kvm: Convert nested-vmx.txt to ReST format docs: kvm: Convert mmu.txt to ReST format docs: kvm: Convert locking.txt to ReST format docs: kvm: Convert hypercalls.txt to ReST format docs: kvm: arm/psci.txt: convert to ReST docs: kvm: convert arm/hyp-abi.txt to ReST docs: kvm: Convert api.txt to ReST format docs: kvm: convert devices/xive.txt to ReST docs: kvm: convert devices/xics.txt to ReST docs: kvm: convert devices/vm.txt to ReST docs: kvm: convert devices/vfio.txt to ReST docs: kvm: convert devices/vcpu.txt to ReST docs: kvm: convert devices/s390_flic.txt to ReST docs: kvm: convert devices/mpic.txt to ReST docs: kvm: convert devices/arm-vgit.txt to ReST ...
2 parents b982df7 + 120881b commit 44024ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+4907
-3368
lines changed

Documentation/virtual/guest-halt-polling.txt renamed to Documentation/virt/guest-halt-polling.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
==================
12
Guest halt polling
23
==================
34

45
The cpuidle_haltpoll driver, with the haltpoll governor, allows
56
the guest vcpus to poll for a specified amount of time before
67
halting.
8+
79
This provides the following benefits to host side polling:
810

911
1) The POLL flag is set while polling is performed, which allows
@@ -29,25 +31,29 @@ Module Parameters
2931
The haltpoll governor has 5 tunable module parameters:
3032

3133
1) guest_halt_poll_ns:
34+
3235
Maximum amount of time, in nanoseconds, that polling is
3336
performed before halting.
3437

3538
Default: 200000
3639

3740
2) guest_halt_poll_shrink:
41+
3842
Division factor used to shrink per-cpu guest_halt_poll_ns when
3943
wakeup event occurs after the global guest_halt_poll_ns.
4044

4145
Default: 2
4246

4347
3) guest_halt_poll_grow:
48+
4449
Multiplication factor used to grow per-cpu guest_halt_poll_ns
4550
when event occurs after per-cpu guest_halt_poll_ns
4651
but before global guest_halt_poll_ns.
4752

4853
Default: 2
4954

5055
4) guest_halt_poll_grow_start:
56+
5157
The per-cpu guest_halt_poll_ns eventually reaches zero
5258
in case of an idle system. This value sets the initial
5359
per-cpu guest_halt_poll_ns when growing. This can
@@ -66,13 +72,13 @@ high once achieves global guest_halt_poll_ns value).
6672

6773
Default: Y
6874

69-
The module parameters can be set from the debugfs files in:
75+
The module parameters can be set from the debugfs files in::
7076

7177
/sys/module/haltpoll/parameters/
7278

7379
Further Notes
7480
=============
7581

7682
- Care should be taken when setting the guest_halt_poll_ns parameter as a
77-
large value has the potential to drive the cpu usage to 100% on a machine which
78-
would be almost entirely idle otherwise.
83+
large value has the potential to drive the cpu usage to 100% on a machine
84+
which would be almost entirely idle otherwise.

Documentation/virt/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Linux Virtualization Support
88
:maxdepth: 2
99

1010
kvm/index
11+
uml/user_mode_linux
1112
paravirt_ops
13+
guest-halt-polling
1214

1315
.. only:: html and subproject
1416

0 commit comments

Comments
 (0)