Skip to content

x86/vmware: Steal time accounting support

Alexey Makhalov linux-media lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/vmware: Make vmware_select_hypercall() __initarch/x86/kernel/cpu/vmware.c+1 -10 replies
2/5x86/vmware: Remove vmware_sched_clock_setup()arch/x86/kernel/cpu/vmware.c+10 -50 replies
3/5x86/vmware: Steal time clock for VMware guestarch/x86/kernel/cpu/vmware.c+197 -00 replies
4/5x86/vmware: Enable steal time accountingDocumentation/admin-guide/kernel-parameters.txt arch/x86/kernel/cpu/vmware.c+13 -20 replies
5/5x86/vmware: Use bool type for vmw_sched_clockarch/x86/kernel/cpu/vmware.c+2 -20 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchThomas Hellstrom
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] x86/vmware: Steal time accounting support

Hello,

This patchset introduces steal time accounting support for the VMware guest. The idea and implementation of guest steal time support is similar to KVM ones and it is based on steal clock. The steal clock is a per CPU structure in a shared memory between hypervisor and guest, initialized by each CPU through hypercall. Steal clock is got updated by the hypervisor and read by the guest.

The patchset consists of 5 items:

1. x86/vmware: Make vmware_select_hypercall() __init Minor clean up.

2. x86/vmware: Remove vmware_sched_clock_setup() Preparation for the main patch.

3. x86/vmware: Steal time clock for VMware guest Core steal time support functionality.

4. x86/vmware: Enable steal time accounting Support for steal time accounting used by update_rq_clock().

5. x86/vmware: Use bool type for vmw_sched_clock Minor clean up.

Alexey Makhalov (5):
x86/vmware: Make vmware_select_hypercall() __init x86/vmware: Remove vmware_sched_clock_setup() x86/vmware: Steal time clock for VMware guest x86/vmware: Enable steal time accounting x86/vmware: Use bool type for vmw_sched_clock

 Documentation/admin-guide/kernel-parameters.txt |   2 +-
 arch/x86/kernel/cpu/vmware.c                    | 227 +++++++++++++++++++++++-
 2 files changed, 220 insertions(+), 9 deletions(-)
Signature · 1 line
2.14.2