summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/multicalls.h
diff options
context:
space:
mode:
authorKeir Fraser2013-03-28 15:03:36 +0100
committerKonrad Rzeszutek Wilk2013-04-02 20:01:21 +0200
commitbee980d9e9642e96351fa3ca9077b853ecf62f57 (patch)
treeacb076bd2f1a40d650dada64943b100b0c579979 /arch/x86/xen/multicalls.h
parentxen/events: avoid race with raising an event in unmask_evtchn() (diff)
downloadkernel-qcow2-linux-bee980d9e9642e96351fa3ca9077b853ecf62f57.tar.gz
kernel-qcow2-linux-bee980d9e9642e96351fa3ca9077b853ecf62f57.tar.xz
kernel-qcow2-linux-bee980d9e9642e96351fa3ca9077b853ecf62f57.zip
xen/events: Handle VIRQ_TIMER before any other hardirq in event loop.
This avoids any other hardirq handler seeing a very stale jiffies value immediately after wakeup from a long idle period. The one observable symptom of this was a USB keyboard, with software keyboard repeat, which would always repeat a key immediately that it was pressed. This is due to the key press waking the guest, the key handler immediately runs, sees an old jiffies value, and then that jiffies value significantly updated, before the key is unpressed. Reviewed-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/multicalls.h')
0 files changed, 0 insertions, 0 deletions