diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2013-03-28 10:03:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-07 12:46:48 -0700 |
commit | 3a6b9138a066588649cf0387bf34d7068f0b19a6 (patch) | |
tree | aa4a72de5ba642f86601ab8ffc072ae3281f2ebd /fs | |
parent | cd6b18b0605a8a6355d6b838296926b12d548df3 (diff) |
xen/events: Handle VIRQ_TIMER before any other hardirq in event loop.
commit bee980d9e9642e96351fa3ca9077b853ecf62f57 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions