[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] shadow: track video RAM dirty bits



shadow: Fix dirty vram tracking typo.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>

diff -r b936b8ee02bb xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c    Fri May 02 17:06:53 2008 +0100
+++ b/xen/arch/x86/mm/shadow/multi.c    Sun May 04 11:58:33 2008 +0100
@@ -1321,7 +1321,7 @@ static inline void shadow_vram_put_l1e(s
             }
         }
         if ( dirty )
-            d->dirty_vram->dirty_bitmap[i / 8] |= 
d->dirty_vram->dirty_bitmap[i % 8];
+            d->dirty_vram->dirty_bitmap[i / 8] |= 1 << (i % 8);
     }
 }
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.