summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorChristian Borntraeger2009-05-12 17:21:49 +0200
committerAvi Kivity2009-06-10 10:48:55 +0200
commitca8723023f25c9a70d76cbd6101f8fb4ffec2fa0 (patch)
treeef753d244a55271279b5b2cf29b28db5b35b454c /COPYING
parentKVM: s390: Fix memory slot versus run - v3 (diff)
downloadkernel-qcow2-linux-ca8723023f25c9a70d76cbd6101f8fb4ffec2fa0.tar.gz
kernel-qcow2-linux-ca8723023f25c9a70d76cbd6101f8fb4ffec2fa0.tar.xz
kernel-qcow2-linux-ca8723023f25c9a70d76cbd6101f8fb4ffec2fa0.zip
KVM: s390: use hrtimer for clock wakeup from idle - v2
This patch reworks the s390 clock comparator wakeup to hrtimer. The clock comparator is a per-cpu value that is compared against the TOD clock. If ckc <= TOD an external interrupt 1004 is triggered. Since the clock comparator and the TOD clock have a much higher resolution than jiffies we should use hrtimers to trigger the wakeup. This speeds up guest nanosleep for small values. Since hrtimers callbacks run in hard-irq context, I added a tasklet to do the actual work with enabled interrupts. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Christian Ehrhardt <ehrhardt@de.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions