Skip to contentSkip to conversation

__flush_tlb_mask

PATCH Ky Srinivasan 1 participant 1 message Jan 23, 2007 x86

lore
Share & tools
lore
#0 lore raw

The function __flush_tlb_msk() (in arch/x86/smp.c) is flushing the local TLB, completely ignoring the virtual address being specified. I am attaching a trivial patch to fix this.

signed off by: K. Y. Srinivasan <[email protected]>

arch/x86/smp.c +4 -1
@@ -188,7 +188,10 @@
     
     if ( cpu_isset(smp_processor_id(), mask) )
     {
-        local_flush_tlb();
+        if ( va == FLUSHVA_ALL )
+            local_flush_tlb();
+        else
+            local_flush_tlb_one(va);
         cpu_clear(smp_processor_id(), mask);
     }
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel