Files
android_kernel_xiaomi_sm8450/arch/x86/include/asm
Paolo Bonzini 62bea5bff4 KVM: add halt_attempted_poll to VCPU stats
This new statistic can help diagnosing VCPUs that, for any reason,
trigger bad behavior of halt_poll_ns autotuning.

For example, say halt_poll_ns = 480000, and wakeups are spaced exactly
like 479us, 481us, 479us, 481us. Then KVM always fails polling and wastes
10+20+40+80+160+320+480 = 1110 microseconds out of every
479+481+479+481+479+481+479 = 3359 microseconds. The VCPU then
is consuming about 30% more CPU than it would use without
polling.  This would show as an abnormally high number of
attempted polling compared to the successful polls.

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com<
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-09-16 12:17:00 +02:00
..
2015-07-27 14:06:23 +02:00
2015-07-27 14:06:23 +02:00
2015-05-13 10:55:42 +02:00
2015-07-31 10:23:23 +02:00
2014-12-11 11:35:02 +01:00
2015-04-14 16:49:06 -07:00
2015-05-28 15:31:53 +02:00
2015-05-19 15:47:30 +02:00
2012-03-28 18:11:12 +01:00
2014-03-04 21:47:51 +01:00
2011-04-18 09:26:48 -07:00
2015-04-24 15:36:55 +02:00
2010-10-26 16:52:08 -07:00
2012-06-25 13:48:30 +02:00
2015-06-04 16:01:45 +02:00
2010-06-09 11:12:36 +02:00
2015-07-31 13:31:10 +02:00
2015-07-31 13:30:45 +02:00
2014-02-27 08:07:39 -08:00
2015-08-23 13:25:38 +02:00
2014-09-01 10:15:31 +02:00
2011-03-15 15:34:15 -07:00
2015-08-13 12:42:22 -07:00
2015-05-19 15:47:30 +02:00
2015-02-23 13:44:14 +01:00
2014-06-04 16:53:57 -07:00
2014-04-18 14:20:46 +02:00
2015-07-31 13:31:10 +02:00
2015-05-19 15:47:30 +02:00
2015-05-19 15:47:30 +02:00
2015-05-19 15:47:30 +02:00