Files
kernel_amazon_mt8127-common/include/linux
Marcelo Tosatti 3d80840d96 KVM: hlt emulation should take in-kernel APIC/PIT timers into account
Timers that fire between guest hlt and vcpu_block's add_wait_queue() are
ignored, possibly resulting in hangs.

Also make sure that atomic_inc and waitqueue_active tests happen in the
specified order, otherwise the following race is open:

CPU0                                        CPU1
                                            if (waitqueue_active(wq))
add_wait_queue()
if (!atomic_read(pit_timer->pending))
    schedule()
                                            atomic_inc(pit_timer->pending)

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-04-27 12:04:11 +03:00
..
2008-04-21 11:22:28 -05:00
2008-04-25 13:26:55 +01:00
2008-04-25 13:26:55 +01:00
2008-04-25 13:26:55 +01:00
2008-04-21 22:38:45 +00:00
2008-04-22 11:34:59 +02:00
2008-04-26 22:25:24 +02:00
2008-04-23 21:25:36 -04:00
2008-04-19 19:10:28 -07:00
2008-04-26 17:36:37 +02:00
2008-04-27 12:01:19 +03:00
2008-04-25 00:46:09 -04:00
2008-04-21 22:35:29 +00:00
2008-04-19 16:54:56 -04:00
2008-04-19 16:55:29 -04:00
2008-04-20 21:47:03 -07:00
2008-04-20 21:47:03 -07:00
2008-04-20 21:47:07 -07:00
2008-04-25 00:25:08 +02:00
2008-04-19 19:44:59 +02:00
2008-04-24 21:16:57 -07:00