|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] x86 hvm vpt: slightly improvement
There are quite a lot of the case of pt->pending_intr_nr==0.
and pt_irq_masked() is more complicated.
Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
diff -r b4fcb5f632dc xen/arch/x86/hvm/vpt.c
--- a/xen/arch/x86/hvm/vpt.c Mon Aug 31 18:17:26 2009 +0100
+++ b/xen/arch/x86/hvm/vpt.c Tue Sep 01 16:58:51 2009 +0900
@@ -229,7 +229,7 @@ void pt_update_irq(struct vcpu *v)
list_for_each_entry ( pt, head, list )
{
- if ( !pt_irq_masked(pt) && pt->pending_intr_nr &&
+ if ( pt->pending_intr_nr && !pt_irq_masked(pt) &&
((pt->last_plt_gtime + pt->period) < max_lag) )
{
max_lag = pt->last_plt_gtime + pt->period;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] x86 hvm vpt: slightly improvement,
Kouya Shimura <=
|
|
|
|
|