force the TSC unreliable by reporting C2 state
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | kvm: qemu: inform valid C2 state in ACPI tablebios/ | +40 | 0 replies | |
| 2/7 | kvm: qemu: disable c2 via _CST notificationqemu/ | +60 | 0 replies | |
| 3/7 | libkvm: in-kernel C2 halt interfacelibkvm/ libkvm/ | +20 | 0 replies | |
| 4/7 | libkvm: handle_io return handler valuelibkvm/ | +1 | 0 replies | |
| 5/7 | qemu: kvm: unhalt vcpu0 on pit irqqemu/ qemu/ qemu/ | +11 | 0 replies | |
| 6/7 | kvm: qemu: enable in-kernel C2 emulation / userspace emulationqemu/ qemu/ qemu/ +1 more | +36 | 0 replies | |
| 7/7 | KVM: in-kernel ACPI C2 idle emulationarch/ arch/ arch/ +8 more | +129 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/7] force the TSC unreliable by reporting C2 state
Avi, I don't think this causes such a huge performance regression. NOHZ makes the frequency of timer reads go down significantly.
As for constant tick guests, well, the impact will be similar to changing to SMP, since those fallback to ACPI timer anyway now.
The C2 emulation is required by Ubuntu 7.10 for example, which refuses to process the CST notification.
Stock Linux kernels (as old as 2.6.20) do mark C2 invalid upon the CST notification.