Skip to content

kvmclock: allow stable sched clock

Marcelo Tosatti kvm 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: kvmclock: add flag to indicate pvclock counts from zeroarch/x86/include/asm/pvclock-abi.h+1 -00 replies
2/3x86: kvmclock: set scheduler clock stablearch/x86/kernel/kvmclock.c+12 -20 replies
3/3KVM: x86: zero kvmclock_offset when vcpu0 initializes kvmclock system MSRarch/x86/kvm/x86.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [patch v2 0/3] kvmclock: allow stable sched clock

kvmclock provides the behaviour sched_clock users expect. Mark it as stable allowing nohz_full in guests. See individual patches for more details.

v2: address comments from Paolo:
- set COUNTS_FROM_ZERO unconditionally (host).
- rely on KVM_FEATURE_CLOCKSOURCE_STABLE_BIT (guest).